Search
DiagramItem.Brush Property
See Also
 





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

Namespace: MindFusion.Diagramming.Avalonia
Assembly: MindFusion.Diagramming.Avalonia

 Syntax

C#  Copy Code

public IBrush Brush { get; set; }

Visual Basic  Copy Code

Public Property Brush As IBrush

 Property Value

An instance of an Avalonia.Media.IBrush -derived class.

 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: GradientBrush, SolidColorBrush or TileBrush, located in the System.Windows.Media namespace. When applied to links, the property defines how arrowheads interior is painted.

 See Also