HierarchyBrush Properties
HierarchyBrush PropertiesChart4.NET - Organization Charting Component (C#/VB.NET/ASP.NET) - Documentation
Onlinewww.Chart4.NET (Documentation) | OnlineSamples Download | Release Notes

The HierarchyBrush type exposes the following members.
Properties

  NameDescription
Public propertyBrushType
Brush type.
Public propertyColor1
Color1 is used in the following way:
If BrushType
= LinearGradientBrush, then as brush color for first end.
= SolidBrush, then as brush color.
= HatchBrush, then as forecolor for pictographic style.
Public propertyColor1Transparency
Transparecy of Color1 [0-255], value 0 means full transparency and 255 means opaque. Default is 255.
Public propertyColor2
Color2 is used in the following way:
If BrushType
= LinearGradientBrush, then as brush color for second end.
= HatchBrush, then as backcolor for pictographic style.
Public propertyColor2Transparency
Transparecy of Color2 [0-255], value 0 means full transparency and 255 means opaque. Default is 255.
Public propertyCustomBrush
User-defined brush object. Create a Brush derived object, and assign to this property. Also specify the brush type in BrushType property.
Public propertyGradientOrientation
Gradient-coloring direction, in case BrushType is set as LinearGradientBrush.
Public propertyHatchStyle
Pictographic style, in case BrushType is set as HatchBrush.
Public propertyImage
Image to display (tiled), in case BrushType is set as ImageTileBrush.
Public propertyPenWidth
Thickness of the pen on a scale of 1-5, when the brush is used for drawing. Default is 1.0 (for a fresh brush).
Back to Top
See Also