Skip to main content
Bar

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

RibbonGalleryBarItem.GalleryItemCheckedChanged Event

Fires whenever a gallery item’s check (selected) state is changed.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DXCategory("Action")]
public event GalleryItemEventHandler GalleryItemCheckedChanged

#Event Data

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

Property Description
Gallery Gets the Gallery that contains the processed Gallery item.
InRibbonGalleryLink For In-Ribbon galleries, gets the bar item link that displays the current gallery.
Item Gets the Gallery item currently being processed.

#Remarks

The GalleryItemCheckedChanged event is equivalent to the BaseGallery.ItemCheckedChanged event that is available via the RibbonGalleryBarItem.Gallery object.

To get a gallery item’s check (selected) state, use the GalleryItem.Checked property.

The BaseGallery.GetCheckedItems method allows you to obtain all checked (selected) items.

See Also