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

TcxCustomTreeView.OnDeletion Event

In This Article

Fires when a tree node is about to be deleted.

#Declaration

Delphi
property OnDeletion: TTVExpandedEvent read; write;

#Remarks

Write a handler for the OnDeletion event to perform specific actions each time a node is deleted from the tree view.

Sender specifies the TcxCustomInnerTreeView.

The node can be obtained via the Node parameter.

If you need to respond to tree view node addition, handle the OnAddition event.

Nodes can be added or removed from the tree view using TTreeNodes object methods representing the Items property.

See Also