Skip to main content

TcxCustomShellTreeView.OnChanging Event

Occurs when the selection is about to change from one node to another.

Declaration

property OnChanging: TTVChangingEvent read; write;

Remarks

Write an OnChanging event handler to selectively prevent selection from moving to specific nodes.

Set the AllowChange parameter to False, to prevent selection from moving to a new node. The Node parameter specifies the node that is about to be selected.

The currently selected tree view node can be accessed via the InnerTreeView.Selected property.

See Also