Raised when a diagram node must be custom drawn.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
SyntaxC#
Copy Code
|
|---|
public event EventHandler<DrawNodeEventArgs> DrawNode |
Visual Basic
Copy Code
|
|---|
Public Event DrawNode As EventHandler(Of DrawNodeEventArgs) |
Event DataDrawNode 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. |
RemarksThis event is raised for nodes whose CustomDraw property is enabled.
See Also