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.1.dll

Declaration

[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool AllowIndeterminateCheckState { get; set; }
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property AllowIndeterminateCheckState As Boolean

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

See Also