Event fired before a node is drawn, allowing the developer to customize the display.
Syntax
Event Data
The event handler receives an argument of type UserDrawnNodeEventArgs containing data related to this event. The following UserDrawnNodeEventArgs properties provide information specific to this event.
| Property | Description |
|---|
| Graphics | A handle to the graphics object responsible for drawing the node. Through the e.Graphics object the developer has access to the GDI+ methods for drawing objects to a display device. |
| NodeItem | The dbiNodeItem that will be drawn |
| PaintNode | Determines if the internal routines of the control should draw the node. When the PaintNode property is set to False the control does not execute its internal paint routine and the developer has control over the painting of the node. |
| Rect | A rectangle representing the area being painted in the control. |
Requirements
Target Platforms: Current Windows operating system with .NET 8.
See Also