windowsforms-devexpress-dot-xtratreelist-dot-treelist-ae3f133b.md
Unselects all nodes, and removes them from the TreeList.Selection collection.
Namespace : DevExpress.XtraTreeList
Assembly : DevExpress.XtraTreeList.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList
public void ClearSelection()
Public Sub ClearSelection
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.
gantt.ClearSelection();
gantt.ClearSelection()
See Also