Skip to main content

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

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 AllowRecursiveNodeChecking
TreeList
.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