TdxCustomOrgChart.OnDrawNode Event
Occurs during node repainting.
Declaration
property OnDrawNode: TdxOcDrawEvent read; write;
Remarks
Handle the OnDrawNode event to draw a node’s custom content instead of the node’s text and/or associated image.
The Sender parameter specifies the control that raised the event. Cast the parameter value to the TdxOrgChart or TdxDbOrgChart class to access the type-specific members.
Use the Node parameter to address the drawn node.
The Rect parameter stores the node’s bounding area. The ACanvas parameter specifies the drawing surface.
See Also