A newer version of this page is available. Switch to the current version.

AppMenuFileLabel.Checked Property

Gets or sets the label's check state.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

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

Property Value

Type Default Description
Boolean

false

true if the label is checked; otherwise, false.

Remarks

A label can have two states: checked and unchecked, indicated by the check button. This button is visible if the AppMenuFileLabel.ShowCheckButton property is enabled. An end-user can click the button to toggle the label's check state. When the label is unchecked, the check button displays the image specified by the AppMenuFileLabel.Image property. When the label is checked, the AppMenuFileLabel.SelectedImage is displayed within the button.

Use the Checked property to specify the check state in code. When the label's check state is changed, the AppMenuFileLabel.CheckedChanged event fires.

See Also