Raised when a diagram link must be custom drawn.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public event EventHandler<DrawLinkEventArgs> DrawLink |
Visual Basic Copy Code |
---|
Public Event DrawLink As EventHandler(Of DrawLinkEventArgs) |
DrawLink event handlers receive an argument of type DrawLinkEventArgs. The following DrawLinkEventArgs members provide information relevant to the event:
Member name | Description |
---|---|
The DiagramLink that should be custom drawn. | |
The collection of the link's control points. When drawing shadows, the points are offset as necessary. | |
A DrawingContext instance whose methods should be used to draw the link. |
This event is raised for links whose CustomDraw property is enabled.
WpfDiagram Programmer's Guide | © 2024 MindFusion |