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
#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.