Skip to main content

TdxCustomTreeView.OnExpanding Event

Allows you to prohibit users from expanding a node.

Declaration

property OnExpanding: TdxTreeViewNodeAllowEvent read; write;

Remarks

This event occurs every time a tree node is about to be expanded. Assign False to the Allow parameter in an OnExpanding event handler to prohibit Tree View node expansion.

You can handle the OnExpanded event to respond to node expand operations.

Note

You can handle the control’s OnCollapsing and OnCollapsed events to track and customize node collapse operations.

Refer to the TdxTreeViewNodeAllowEvent type description for information on available options.

See Also