Skip to main content

AppMenuFileLabel.Checked Property

Gets or sets the label’s check state.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v25.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

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

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. A user can click the button to toggle the label’s check state. Use the AppMenuFileLabel.ImageOptionsCollection property to specify state images.

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