Skip to main content
A newer version of this page is available. .

CheckEdit Class

Represents a check box editor.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v18.2.dll

Declaration

public class CheckEdit :
    BaseEdit,
    IBooleanExportSettings,
    IExportSettings,
    ICommandSource

Remarks

The CheckEdit class represents a check editor that allows end-users to edit boolean values.

check-box.png

The editor’s content is specified by the CheckEdit.Content property.

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

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

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

Example

<dxe:CheckEdit IsThreeState="True" IsChecked="{x:Null}" IsReadOnly="False"/>

The following code snippets (auto-collected from DevExpress Examples) contain references to the CheckEdit class.

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