Skip to main content

TreeList.ClearSelection() Method

Unselects all nodes, and removes them from the TreeList.Selection collection.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.1.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

public void ClearSelection()

Remarks

The ClearSelection method is only in effect in the multiple node selection mode (see TreeListOptionsSelection.MultiSelect).

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ClearSelection() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also