Skip to main content
A newer version of this page is available. .
All docs
V20.2

TreeViewControl.UncheckAllNodes() Method

Unchecks all nodes.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Grid.Core, DevExpress.Wpf.Grid.Core

Declaration

public void UncheckAllNodes()

Remarks

Set the TreeViewControl.ShowCheckboxes property to true to display check boxes embedded into nodes:

Use the following methods to check/uncheck nodes in code:

Method Description
TreeViewControl.CheckAllNodes Checks all nodes.
TreeViewControl.UncheckAllNodes Unchecks all nodes.
TreeListNode.IsChecked Checks/unchecks the node.

When a node’s check state is changed, the TreeViewControl raises the TreeViewControl.NodeCheckStateChanged event. Use the TreeListNode.IsChecked property to identify whether a node is checked.

See Also