GoDiagram Win Reference
ModifyProperty(GoPropertyModifierArgs,Object) Method

the specified modification parameters.
the new property (or property part) value
Modifies the collection of objects provided by Collection according to the data specified in the GoPropertyModifierArgs parameter.
Syntax
'Declaration
 
Public Overloads Overridable Sub ModifyProperty( _
   ByVal e As GoPropertyModifierArgs, _
   ByVal newval As Object _
) 
public virtual void ModifyProperty( 
   GoPropertyModifierArgs e,
   object newval
)

Parameters

e
the specified modification parameters.
newval
the new property (or property part) value
Remarks

When the GoPropertyModifierArgs.GoPropertyModifierArgs.Choice value has the GoPropertyModifierChoice.Primary flag set, this will call ModifyItemProperty on the first object in the Collection. When the GoPropertyModifierArgs.GoPropertyModifierArgs.Choice value has the GoPropertyModifierChoice.Secondary flag set, this will call ModifyItemProperty on all the rest of the objects in the Collection.

If Collection is null, then this method performs no operation. If ReadOnly is true, this method does nothing.

You may find it convenient to call one of the overloaded methods: ModifyProperty(Int32,GoPropertyModifierChoice,Object) or ModifyProperty(Int32,GoPropertyModifierPart,GoPropertyModifierChoice,Object)

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoPropertyModifier Class
GoPropertyModifier Members
Overload List

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback