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.LabelImageClick Event

Fires when the label’s image/selected image is clicked.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DXCategory("Events")]
public event CancelEventHandler LabelImageClick

#Event Data

The LabelImageClick event's data class is CancelEventArgs. The following properties provide information specific to this event:

Property Description
Cancel Gets or sets a value indicating whether the event should be canceled.

#Remarks

A check button is displayed at the label’s right edge, provided that the AppMenuFileLabel.ShowCheckButton property is enabled.

Use the AppMenuFileLabel.ImageOptionsCollection property to specify state images.

When the check button is clicked, the LabelImageClick event fires. You can set the event’s Cancel parameter to true to prevent follow-up actions. If the Cancel parameter is left set to false, the check button’s state is toggled and the notification AppMenuFileLabel.CheckedChanged event fires. You can handle this event to respond to checking/unchecking the button.

See Also