Skip to main content

TdxCustomOrgChart.OnExpansion Event

Occurs before the node expanding.

Declaration

property OnExpansion: TdxOcAllowEvent read; write;

Remarks

Set the Allow parameter to False in the OnExpansion event handler to prevent expanding a node. 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 node, which is about to be expanded.

See Also