Skip to main content

TdxCustomOrgChart.OnCollapsing Event

Occurs before the node collapsing.

Declaration

property OnCollapsing: TdxOcAllowEvent read; write;

Remarks

Set the Allow parameter to False in the OnCollapsing event handler to prevent the node from collapsing.

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.

To address the node, which is about to be collapsed, use the Node parameter.

See Also