GoDiagram Web Reference
Brush Property (GoListGroup)

Gets or sets the brush used to fill this group as a background.
Syntax
'Declaration
 
<CategoryAttribute("Appearance")>
<DescriptionAttribute("The brush used to fill the outline of this GoListGroup.")>
<DefaultValueAttribute()>
Public Overridable Property Brush As Brush
[CategoryAttribute("Appearance")]
[DescriptionAttribute("The brush used to fill the outline of this GoListGroup.")]
[DefaultValueAttribute()]
public virtual Brush Brush {get; set;}

Property Value

The Brush value may be null, in which case no background is drawn. This value defaults to null.
Remarks

LinearGradientBrushes are drawn with their origin at the Position of this group.

You must not modify the brush after you have assigned it. It is common to use the predefined brushes that are members of the Brushes class. For the simple linear gradient and path gradient effects, you can just set the BrushColor, BrushForeColor, BrushMidColor, and BrushStyle properties. Finally, for the most sophisticated or complex kinds of gradient brushes, you may need to override this property to return the kind of value you need.

When a linear gradient brush or a path gradient brush is drawn very small, due to a combination of small size and small GoView.DocScale, GoDiagram may substitute a solid brush or not draw anything at all, both for efficiency as well as to avoid GDI+ errors. When a path gradient brush is drawn very large, due to a combination of large size and large GoView.DocScale, GoDiagram may substitute a solid brush, both for efficiency as well as to avoid GDI+ errors.

Currently serialization is limited to standard solid, hatch, and texture brushes and many kinds of simple linear gradient and path gradient brushes.

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

GoListGroup Class
GoListGroup Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback