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

TdxCustomTreeView.OnCollapsing Event

In This Article

Allows you to prohibit users from collapsing a node.

#Declaration

Delphi
property OnCollapsing: TdxTreeViewNodeAllowEvent read; write;

#Remarks

This event occurs every time a tree node is about to be collapsed. Assign False to the Allow parameter in an OnCollapsing event handler to prohibit the Tree View from collapsing a node.

You can handle the OnCollapsed event to respond to node collapse operations.

Note

You can handle the control’s OnExpanding and OnExpanded events to track node expand operations and customize their behavior.

Refer to the TdxTreeViewNodeAllowEvent type description for an OnCollapsing event handler example and information on available options.

See Also