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.v24.2.dll
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:
Object Type | Path to AllowIndeterminateCheckState |
---|---|
TreeList |
|
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 indeterminate 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.
Related GitHub Examples
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.