Search
DiagramBase.DrawLink Event
See Also
 





Raised when a diagram link must be custom drawn.

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

 Syntax

C#  Copy Code

public event EventHandler<DrawLinkEventArgs> DrawLink

Visual Basic  Copy Code

Public Event DrawLink As EventHandler(Of DrawLinkEventArgs)

 Event Data

DrawLink event handlers receive an argument of type DrawLinkEventArgs. The following DrawLinkEventArgs members provide information relevant to the event:

Member name

Description

Link

The DiagramLink that should be custom drawn.

Points

The collection of the link's control points. When drawing shadows, the points are offset as necessary.

Graphics

A DrawingContext instance whose methods should be used to draw the link.

 Remarks

This event is raised for links whose CustomDraw property is enabled.

 See Also