Skip to main content
A newer version of this page is available. .

TreeListOptionsBehavior.AllowIndeterminateCheckState Property

Gets or sets whether an end-user can switch a node to the indeterminate check state with a mouse click.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.2.dll

NuGet Package: DevExpress.Win.TreeList

Declaration

[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool AllowIndeterminateCheckState { get; set; }

Property Value

Type Default Description
Boolean **false**

true if an end-user can switch a node to the indeterminate check state; otherwise, false.

Property Paths

You can access this nested property as listed below:

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

Remarks

An end-user can switch node states by clicking the check box. If the AllowIndeterminateCheckState property is disabled, a click on the check box changes the node’s state between checked and unchecked. If the AllowIndeterminateCheckState property’s value is true, successive clicks on the check box switch between three states: checked, unchecked and indeterminate.

Regardless of the AllowIndeterminateCheckState, you can apply the interderminate state to a node in code, using the TreeListNode.CheckState property.

To learn how to enable the node checking feature, see Node Checking - Checkboxes and Radio Buttons.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowIndeterminateCheckState 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.

See Also