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

TreeViewControl.CheckAllNodes() Method

Checks all nodes.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public void CheckAllNodes()

Remarks

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

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