Back to Devexpress

TreeList.UncheckAll() Method

windowsforms-devexpress-dot-xtratreelist-dot-treelist-b5e2d261.md

latest3.1 KB
Original Source

TreeList.UncheckAll() Method

Unchecks all nodes in the Tree List control.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
public void UncheckAll()
vb
Public Sub UncheckAll

Remarks

The node checking feature is controlled by the TreeListOptionsView.CheckBoxStyle, TreeListOptionsView.RootCheckBoxStyle and TreeListNode.ChildrenCheckBoxStyle properties.

See Node Checking - Checkboxes and Radio Buttons to learn more.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the UncheckAll() 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-dashboard-custom-items-extension/CS/CustomItemExtension/CustomItems/TreeList/TreeListItemControlProvider.cs#L71

csharp
skipMasterFiltering = true;
tree.UncheckAll();
skipMasterFiltering = false;

winforms-dashboard-custom-items-extension/VB/CustomItemExtension/CustomItems/TreeList/TreeListItemControlProvider.vb#L79

vb
skipMasterFiltering = True
tree.UncheckAll()
skipMasterFiltering = False

See Also

Node Checking - Checkboxes and Radio Buttons

TreeList Class

TreeList Members

DevExpress.XtraTreeList Namespace