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

TreeListOptionsView.RootCheckBoxStyle Property

Gets or sets whether root TreeList nodes should draw check boxes, radio buttons, or neither.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

#Declaration

[DefaultValue(NodeCheckBoxStyle.Default)]
[XtraSerializableProperty]
public virtual NodeCheckBoxStyle RootCheckBoxStyle { get; set; }

#Property Value

Type Default Description
DevExpress.XtraTreeList.NodeCheckBoxStyle Default

A DevExpress.XtraTreeList.NodeCheckBoxStyle enumeration value that specifies whether root TreeList nodes should draw check boxes, radio buttons, or neither. The Default value means root nodes follow the global TreeListOptionsView.CheckBoxStyle setting.

#Property Paths

You can access this nested property as listed below:

Object Type Path to RootCheckBoxStyle
TreeList
.OptionsView .RootCheckBoxStyle

#Remarks

You can also specify the TreeListNode.ChildrenCheckBoxStyle to specify a similar behavior for child nodes.

TreeList-CheckBoxStyle.png

See Node Checking - Checkboxes and Radio Buttons to learn more.

Demo: Select With Radio Buttons and Check Boxes module in the XtraTreeList MainDemo

See Also