Raised when a diagram node must be custom drawn.
Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming
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. | |
true if now drawing the node's shadow, otherwise false. | |
An object implementing the IGraphics interface whose methods should be used to draw the node. |
This event is raised for nodes whose CustomDraw property is enabled.
NetDiagram Programmer's Guide | © 2023 MindFusion |