Gallery.ItemClick Event

Fires when a gallery item is clicked.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v21.2.dll


public event GalleryItemEventHandler ItemClick

Event Data

The ItemClick event's data class is DevExpress.Xpf.Bars.GalleryItemEventArgs.


The ItemClick event fires when clicking any item within the gallery. To respond to clicking a particular item, you can handle the GalleryItem.Click event.

If you need to get the item’s check state while handling the ItemClick event, use the GalleryItem.IsChecked property. Item checking/unchecking can be enabled via the Gallery.ItemCheckMode property.

See Also