CheckContextButton.Checked Property

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

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v20.1.dll

Declaration

[DXCategory("Appearance")]
[DefaultValue(false)]
public bool Checked { get; set; }
<DXCategory("Appearance")>
<DefaultValue(False)>
Public Property Checked As Boolean

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.

See Also