windowsforms-devexpress-dot-xtratreelist-dot-nodes-dot-treelistnode-eb8074c2.md
Checks the current node and all its nested nodes (including all their children).
Namespace : DevExpress.XtraTreeList.Nodes
Assembly : DevExpress.XtraTreeList.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList
public void CheckAll()
Public Sub CheckAll
See Node Checking - Checkboxes and Radio Buttons to learn more.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CheckAll() 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.
winforms-treelist-custom-check-nodes-behavior/CS/Example/TreeListCheckHelper.cs#L31
node.UncheckAll();
else node.CheckAll();
while(node.ParentNode != null)
winforms-treelist-custom-check-nodes-behavior/VB/Example/TreeListCheckHelper.vb#L30
Else
node.CheckAll()
End If
See Also