CheckEditSettings.IsThreeState Property

Gets or sets whether the check editor supports three check states. This is a dependency property.

Namespace: DevExpress.Xpf.Editors.Settings

Assembly: DevExpress.Xpf.Core.v20.1.dll

Declaration

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

Property Value

Type Description
Boolean

true if the check editor supports three check states; otherwise, false.

Remarks

If the IsThreeState property is set to false, only two states - Unchecked and Checked are available.

If the IsThreeState property is true, a check editor can take one of the three check states: Unchecked, Checked and Indeterminate. In the indeterminate (also called "grayed") state, the editor's check box is displayed with a dimmed appearance to indicate that the option is unavailable. You can handle the CheckEdit.Indeterminate event to respond to setting the check editor to the Indeterminate state.

See Also