Back to Devexpress

TreeViewControl.UncheckAllNodes() Method

wpf-devexpress-dot-xpf-dot-grid-dot-treeviewcontrol-6f41d49c.md

latest1.7 KB
Original Source

TreeViewControl.UncheckAllNodes() Method

Unchecks all nodes.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public void UncheckAllNodes()
vb
Public Sub 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:

MethodDescription
TreeViewControl.CheckAllNodesChecks all nodes.
TreeViewControl.UncheckAllNodesUnchecks all nodes.
TreeListNode.IsCheckedChecks/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

TreeViewControl Class

TreeViewControl Members

DevExpress.Xpf.Grid Namespace