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.OnExpanding Event

In This Article

Allows implementing dynamic node loading or prohibiting expansion for individual nodes.

#Declaration

Delphi
property OnExpanding: TcxTreeListNodeChangingEvent read; write;

#Remarks

Sender specifies the tree list.

ANode specifies the node being expanded.

Allow specifies whether node expansion is allowed. Pass True as Allow to allow expansion.

The OnExpanding event can be used for Dynamic Loading.

To provide actions after the node has been expanded, handle the OnExpanded event instead.

See Also