Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AppMenuFileLabel.ShowCheckButton Property

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

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(true)]
[DXCategory("Appearance")]
public bool ShowCheckButton { get; set; }

#Property Value

Type Default Description
Boolean true

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

#Remarks

The check button allows an end-user to toggle the label’s check state. Use the AppMenuFileLabel.ImageOptionsCollection property to specify state images.

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