windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-appmenufilelabel-da6fd870.md
Gets or sets whether the label’s check button is visible.
Namespace : DevExpress.XtraBars.Ribbon
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(true)]
[DXCategory("Appearance")]
public bool ShowCheckButton { get; set; }
<DefaultValue(True)>
<DXCategory("Appearance")>
Public Property ShowCheckButton As Boolean
| 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. 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