Search
DiagramLink.BaseBrush Property
See Also
 





Gets or sets the Brush used to fill BaseShape.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public Brush BaseBrush { get; set; }

Visual Basic  Copy Code

Public Property BaseBrush As Brush

 Property Value

A System.Windows.Media.Brush -derived object. The default value is null.

 Remarks

If this property is set to null, the arrowhead is filled using link's Brush value.

 Example

This link image was generated using following code:

C#  Copy Code

link.HeadShape = ArrowHeads.Triangle;
link.HeadBrush = Brushes.Red;

link.BaseShape = ArrowHeads.Circle;
link.BaseBrush = Brushes.Green;

link.IntermediateShape = ArrowHeads.BowArrow;
link.IntermediateBrush = Brushes.Yellow;

 See Also