Skip to main content

CheckContextButton.Checked Property

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

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

[DefaultValue(false)]
[DXCategory("Appearance")]
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.

See Also