CheckEdit.IsThreeState Property
Gets or sets whether the check editor supports three states (checked, unchecked and indeterminate).
Namespace: DevExpress.Xpf.Editors
Assembly: DevExpress.Xpf.Core.v19.2.dll
Declaration
Property Value
Type | Description |
---|---|
Boolean | true if the editor supports three states; false if the editor supports two states (checked and unchecked). |
Remarks
A check editor supports three states (checked, unchecked and indeterminate) if its IsThreeState property is set to true. Otherwise, if this property is set to false, only checked and unchecked states are supported.
Use the BaseEdit.EditValue property to specify the editor’s state. To set the editor to the indeterminate state (if supported), set the BaseEdit.EditValue property to null.
After the BaseEdit.EditValue property’s value has been changed, the check editor fires the corresponding event (CheckEdit.Checked, CheckEdit.Unchecked or CheckEdit.Indeterminate).
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the IsThreeState 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.