GoDigram for .NET Framework and .NET Core
Northwoods.Go.Draw Namespace / GoPropertyModifier Class / ModifyProperty Method / ModifyProperty(GoPropertyModifierArgs,Object) Method
the specified modification parameters.
the new property (or property part) value
In This Topic
    ModifyProperty(GoPropertyModifierArgs,Object) Method
    In This Topic
    Modifies the collection of objects provided by Collection according to the data specified in the GoPropertyModifierArgs parameter.
    Syntax
    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)

    See Also