Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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