Skip to main content
All docs
V24.1

TreeViewControl.AllowRecursiveNodeChecking Property

Gets or sets whether recursive check box selection is enabled. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.1.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public bool AllowRecursiveNodeChecking { get; set; }

Property Value

Type Description
Boolean

true to enable recursive check box selection; otherwise, false.

Remarks

Set the AllowRecursiveNodeChecking property to true to enable recursive check box selection:

  • When you check/uncheck a parent node, its children become checked/unchecked.
  • When you check/uncheck all child nodes, its parent becomes checked/unchecked.
  • When you check/uncheck a child node, but not all child nodes are checked/unchecked, its parent goes to the indeterminate check state.

Note

If the AllowRecursiveNodeChecking property is set to true, when you use the TreeViewControl.CheckBoxFieldName property to update a field in a data source, this field should be of the Nullable<Boolean> data type.

See Also