Skip to main content

AppMenuFileLabel.ShowCheckButton Property

Gets or sets whether the label’s check button is visible.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation


public bool ShowCheckButton { get; set; }

Property Value

Type Default Description
Boolean true

true if the check button is visible; otherwise, false.


The check button allows an end-user to toggle the label’s check state. When the label is in the unchecked state, the image specified by the AppMenuFileLabel.Image property is displayed within the check button. When the label is in the checked state, the image specified by the AppMenuFileLabel.SelectedImage property is displayed.

To get/set the check state in code, use the AppMenuFileLabel.Checked property.

By default, clicking the check button toggles the label’s check state and fires the AppMenuFileLabel.CheckedChanged event, as a result. You can prevent the check state from being automatically changed on clicking the button by handling the AppMenuFileLabel.LabelImageClick event, and setting the event’s Cancel parameter to true.

See Also