Skip to main content

TcxCustomTreeView.OnDeletion Event

Fires when a tree node is about to be deleted.

Declaration

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