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

CheckContextButton.Checked Property

Gets or sets whether the current button is in the checked state.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v19.1.dll

Declaration

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

Property Value

Type Default Description
Boolean **false**

true, if the current button is in the checked state; otherwise, false.

Remarks

An end-user can change the checked state by clicking the button’s check box. Read the Checked property to get whether the current button is checked.

Using the CheckContextButton.CheckedGlyph and CheckContextButton.HoverCheckedGlyph properties, you can provide custom glyphs to be displayed by the checked button in the normal and hovered states, respectively.

The following code snippet (auto-collected from DevExpress Examples) contains a reference 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