Skip to main content

CheckEdit.IsChecked Property

Gets or sets whether an editor is checked. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public bool? IsChecked { get; set; }

Property Value

Type Description
Nullable<Boolean>

A Boolean value (that can also have a value of null) that specifies the editor’s state.

Remarks

A check editor supports three states (checked, unchecked and intermediate) if its CheckEdit.IsThreeState property is set to true. Otherwise, if this property is set to false, only checked and unchecked states are supported.

Use the IsChecked property to specify the editor’s state. To set the editor to the intermediate state (if supported), set the IsChecked property to null.

After the IsChecked property’s value has been changed, the check editor fires the corresponding event (CheckEdit.Checked, CheckEdit.Unchecked or CheckEdit.Indeterminate).

The following code snippets (auto-collected from DevExpress Examples) contain references to the IsChecked 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.

See Also