Back to Devexpress

TreeViewControl.AllowRecursiveNodeChecking Property

wpf-devexpress-dot-xpf-dot-grid-dot-treeviewcontrol-1a07e70d.md

latest1.9 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public bool AllowRecursiveNodeChecking { get; set; }
vb
Public Property AllowRecursiveNodeChecking As Boolean

Property Value

TypeDescription
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

TreeViewControl Class

TreeViewControl Members

DevExpress.Xpf.Grid Namespace