Skip to main content
All docs
V24.1

TreeViewControl.CheckAllNodes() Method

Checks all nodes.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.1.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