GoDigram for .NET Framework and .NET Core
Northwoods.Go.Draw Namespace / GoPropertyModifier Class / SetBrushPart Method
the Northwoods.Go.GoObject whose brush is being modified
a Brush; if null, this will construct a new Brush using the new property value
a GoPropertyModifierArgs
the new Brush property value
In This Topic
    SetBrushPart Method
    In This Topic
    This constructs and returns a new Brush using the properties of the given Brush b with the particular property specified by e set to the value newval.
    Syntax
    protected virtual Brush SetBrushPart( 
       GoObject obj,
       Brush b,
       GoPropertyModifierArgs e,
       object newval
    )

    Parameters

    obj
    the Northwoods.Go.GoObject whose brush is being modified
    b
    a Brush; if null, this will construct a new Brush using the new property value
    e
    a GoPropertyModifierArgs
    newval
    the new Brush property value

    Return Value

    a new Brush
    Remarks
    Typically this is just called by ModifyProperty(GoPropertyModifierArgs,Object). You will want to override this if you want to handle additional brush properties beyond those enumerated by GoPropertyModifierPart.
    See Also