Search
DiagramItem.Brush Property
See Also
 






Gets or sets the brush used to fill the interior of this item.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public Brush Brush { get; set; }

Visual Basic  Copy Code

Public Property Brush As Brush

 Property Value

An instance of a Brush-derived class. The default value is null.

 Remarks

This property refers to a brush with which an item is painted. You can assign to it an instance of one of the following classes: HatchBrush, LinearGradientBrush, PathGradientBrush, or SolidBrush, located in the MindFusion.Drawing namespace. When applied to links, the property defines how arrowheads interior is painted.

When set to null, the brush object used to paint this item is derived from the item's Style, or from the diagram's Theme.

 See Also