windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionsview-65fbbec8.md
Gets or sets whether nodes display check boxes. This member is obsolete. Use the TreeListOptionsView.CheckBoxStyle, TreeListOptionsView.RootCheckBoxStyle and TreeListNode.ChildrenCheckBoxStyle properties instead.
Namespace : DevExpress.XtraTreeList
Assembly : DevExpress.XtraTreeList.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual bool ShowCheckBoxes { get; set; }
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Overridable Property ShowCheckBoxes As Boolean
| Type | Description |
|---|---|
| Boolean |
true , to show check boxes; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to ShowCheckBoxes |
|---|---|
| TreeList |
.OptionsView .ShowCheckBoxes
|
This member is obsolete. Use the TreeListOptionsView.CheckBoxStyle, TreeListOptionsView.RootCheckBoxStyle and TreeListNode.ChildrenCheckBoxStyle properties instead.
See Node Checking - Checkboxes and Radio Buttons to learn more.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowCheckBoxes property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-treelist-custom-check-nodes-behavior/CS/Example/TreeListCheckHelper.cs#L14
treeList.OptionsSelection.MultiSelect = true;
treeList.OptionsView.ShowCheckBoxes = true;
treeList.OptionsBehavior.AllowIndeterminateCheckState = false;
winforms-treelist-custom-check-nodes-behavior/VB/Example/TreeListCheckHelper.vb#L12
treeList.OptionsSelection.MultiSelect = True
treeList.OptionsView.ShowCheckBoxes = True
treeList.OptionsBehavior.AllowIndeterminateCheckState = False
See Also