Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomTreeList.OnCollapsing Event

In This Article

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

#Declaration

Delphi
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