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.v20.1.dll

Declaration

[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool AllowRecursiveNodeChecking { get; set; }
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property AllowRecursiveNodeChecking As Boolean

Property Value

Type Default Description
Boolean

false

true if child nodes are automatically checked/unchecked when a parent node is checked/unchecked; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to AllowRecursiveNodeChecking
WinForms Controls GanttControl
.OptionsBehavior.AllowRecursiveNodeChecking
GanttControl
.OptionsBehavior.AllowRecursiveNodeChecking
ResourcesTree
.OptionsBehavior.AllowRecursiveNodeChecking
TreeList
.OptionsBehavior.AllowRecursiveNodeChecking
Reporting XRDesignFieldList
.OptionsBehavior.AllowRecursiveNodeChecking
XRDesignFieldList
.OptionsBehavior.AllowRecursiveNodeChecking
XRDesignReportExplorer
.OptionsBehavior.AllowRecursiveNodeChecking
XRDesignReportExplorer
.OptionsBehavior.AllowRecursiveNodeChecking

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.

See Also