windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionsbehavior-dd07cde9.md
Gets or sets whether child nodes are automatically checked/unchecked when a parent node is checked/unchecked and vice versa.
Namespace : DevExpress.XtraTreeList
Assembly : DevExpress.XtraTreeList.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList
[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool AllowRecursiveNodeChecking { get; set; }
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property AllowRecursiveNodeChecking As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true if child nodes are automatically checked/unchecked when a parent node is checked/unchecked and vice versa; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to AllowRecursiveNodeChecking |
|---|---|
| TreeList |
.OptionsBehavior .AllowRecursiveNodeChecking
|
If the AllowRecursiveNodeChecking property is enabled:
The node checking feature can be enabled with the TreeListOptionsView.CheckBoxStyle, TreeListOptionsView.RootCheckBoxStyle and TreeListNode.ChildrenCheckBoxStyle properties. See Node Checking - Checkboxes and Radio Buttons to learn more.
Note
If you enable the AllowRecursiveNodeChecking option and utilize the TreeList.CheckBoxFieldName property, the data source field should support null values.
See Also
Node Checking - Checkboxes and Radio Buttons