Back to Devexpress

CheckEdit.IsThreeState Property

wpf-devexpress-dot-xpf-dot-editors-dot-checkedit-ac73cbb7.md

latest2.2 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public bool IsThreeState { get; set; }
vb
Public Property IsThreeState As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

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

Use the CheckEdit.ReverseCheckOrder property to set the order of the check editor states.

See Also

IsChecked

CheckEdit Class

CheckEdit Members

DevExpress.Xpf.Editors Namespace