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

TcxCustomTreeList.DeleteSelection Method

In This Article

Permanently deletes selected nodes.

#Declaration

Delphi
procedure DeleteSelection;

#Remarks

This method deletes selected nodes in the Tree List, and also removes persistent data from the bound storage (in bound and provider modes). The method also deletes children of selected nodes.

This method is in effect, if the tree list’s OptionsData.Deleting option is active, and the tree list is not in edit mode (the IsEditing property is False).

If you wish to delete all nodes in the View, use the Clear method.

See Also