Raised when a diagram node must be custom drawn.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public event EventHandler<DrawNodeEventArgs> DrawNode |
Visual Basic Copy Code |
---|
Public Event DrawNode As EventHandler(Of DrawNodeEventArgs) |
DrawNode event handlers receive an argument of type DrawNodeEventArgs. The following DrawNodeEventArgs members provide information relevant to the event:
Member name | Description |
---|---|
The DiagramNode that should be custom drawn. | |
The bounding rectangle of the node being drawn. | |
A DrawingContext instance whose methods should be used to draw the node. |
This event is raised for nodes whose CustomDraw property is enabled.
WpfDiagram Programmer's Guide | © 2024 MindFusion |