TreeListOptionsBehavior.AllowRecursiveNodeChecking Property
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.v24.2.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
#Declaration
[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool AllowRecursiveNodeChecking { get; set; }
#Property Value
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. |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Allow |
---|---|
Tree |
|
#Remarks
If the AllowRecursiveNodeChecking property is enabled:
- child nodes are automatically checked/unchecked when a parent node is checked/unchecked
- a parent node is checked/unchecked, when you check/uncheck all its child nodes.
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.