GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoShape Class / BrushColor Property
In This Topic
    BrushColor Property (GoShape)
    In This Topic
    Gets or sets the main or background color of the brush.
    Syntax
    [Category("Appearance")]
    [Description("The background color of a solid, hatch, or gradient brush")]
    public virtual Color BrushColor {get; set;}

    Property Value

    The Color of the Brush, or Color.Empty if there is no brush. Setting the new value to a non-empty Color when Brush is null will set the Brush to a SolidBrush of that new color. Setting the new value to Color.Empty will set the Brush to null if the old brush was a SolidBrush.
    Remarks
    This refers to the color of a SolidBrush, the background color of a HatchBrush, the ending color of a LinearGradientBrush, or the center color of a PathGradientBrush.
    See Also