Skip to main content

CheckEdit.Checked Property

Gets or sets whether the check editor is checked.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v25.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(false)]
[DXCategory("Appearance")]
public virtual bool Checked { get; set; }

Property Value

Type Default Description
Boolean false

true if the editor is checked or grayed (indeterminate state); false if the editor is unchecked.

Remarks

Use the Checked property to check or uncheck the editor in two-state mode (AllowGrayed is false).

Two-State CheckEdit - WinForms, DevExpress

Checked and EditValue property values are synchronized.

Note

In three-state mode, the Checked property returns true when the CheckEdit is in the indeterminate state.

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