TreeListOptionsView.RootCheckBoxStyle Property

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

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

[DefaultValue(NodeCheckBoxStyle.Default)]
[XtraSerializableProperty]
public virtual NodeCheckBoxStyle RootCheckBoxStyle { get; set; }
<DefaultValue(NodeCheckBoxStyle.Default)>
<XtraSerializableProperty>
Public Overridable Property RootCheckBoxStyle As NodeCheckBoxStyle

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:

Library Object Type Path to RootCheckBoxStyle
WinForms Controls GanttControl
.OptionsView.RootCheckBoxStyle
GanttControl
.OptionsView.RootCheckBoxStyle
ResourcesTree
.OptionsView.RootCheckBoxStyle
TreeList
.OptionsView.RootCheckBoxStyle
Reporting XRDesignFieldList
.OptionsView.RootCheckBoxStyle
XRDesignFieldList
.OptionsView.RootCheckBoxStyle
XRDesignReportExplorer
.OptionsView.RootCheckBoxStyle
XRDesignReportExplorer
.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