MindFusion.Wpf Pack Programmer's Guide
DiagramLink.HeadBrush Property
See Also
 





Gets or sets the Brush used to fill HeadShape.

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

 Syntax

C#  Copy Code

public Brush HeadBrush { get; set; }

Visual Basic  Copy Code

Public Property HeadBrush 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

DiagramLink Members
DiagramLink Class
MindFusion.Diagramming.Wpf Namespace