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

TcxCustomShellTreeView.OnChanging Event

In This Article

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

#Declaration

Delphi
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