Northwoods.Go Assembly > Northwoods.Go Namespace > GoListGroup Class : Brush Property |
'Declaration <DefaultValueAttribute()> <DescriptionAttribute("The brush used to fill the outline of this GoListGroup.")> <CategoryAttribute("Appearance")> Public Overridable Property Brush As Brush
[DefaultValueAttribute()] [DescriptionAttribute("The brush used to fill the outline of this GoListGroup.")] [CategoryAttribute("Appearance")] public virtual Brush Brush {get; set;}
Brush
value may be null, in which case no background is drawn. This value defaults to null.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.
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