GoDiagram Win Reference
BrushColor Property (GoShape)

Gets or sets the main or background color of the brush.
Syntax
'Declaration
 
<CategoryAttribute("Appearance")>
<DescriptionAttribute("The background color of a solid, hatch, or gradient brush")>
Public Overridable Property BrushColor As Color
[CategoryAttribute("Appearance")]
[DescriptionAttribute("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.
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

GoShape Class
GoShape Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback