Skip to main content

TcxCustomTreeList.OnCollapsing Event

Enables you to specify whether a particular node can be collapsed.

Declaration

property OnCollapsing: TcxTreeListNodeChangingEvent read; write;

Remarks

Fires when a node is being collapsed.

Sender specifies the tree list.

ANode specifies the node being collapsed.

Allow specifies whether ANode can be collapsed. Set Allow to False, to prevent the node from collapsing.

To provide actions after the node has been collapsed, handle the OnCollapsed event instead.

See Also