Northwoods.Go.Draw Assembly > Northwoods.Go.Draw Namespace > GoPropertyModifier Class > ModifyProperty Method : ModifyProperty(GoPropertyModifierArgs,Object) Method |
'Declaration Public Overloads Overridable Sub ModifyProperty( _ ByVal e As GoPropertyModifierArgs, _ ByVal newval As Object _ )
public virtual void ModifyProperty( GoPropertyModifierArgs e, object newval )
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)
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