Search
DiagramLink.IntermediateShape Property
See Also
 





Gets or sets the shape displayed at the middle of each segment of the link.

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

 Syntax

C#  Copy Code

public Shape IntermediateShape { get; set; }

Visual Basic  Copy Code

Public Property IntermediateShape As Shape

 Property Value

A Shape instance that represents an arrowhead shape. Initialized with the value of LinkIntermediateShape.

 Remarks

The property specifies what shape to display at the middle of each segment of a link. This could help users to see more easily the direction of long links.

The ArrowHeads class exposes several predefined shapes as static properties.

 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