TdxCustomTreeView.OnCollapsing Event
Allows you to prohibit users from collapsing a node.
Declaration
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