Skip to main content
Bar

Gallery.ItemClick Event

Fires when a gallery item is clicked.

Namespace: DevExpress.Xpf.Bars

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

#Declaration

public event GalleryItemEventHandler ItemClick

#Event Data

The ItemClick event's handler receives an argument of the DevExpress.Xpf.Bars.GalleryItemEventArgs type.

#Remarks

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