Skip to main content
A newer version of this page is available. .
Bar

Gallery.ItemClick Event

Fires when a gallery item is clicked.

Namespace: DevExpress.Xpf.Bars

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public event GalleryItemEventHandler ItemClick

Event Data

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

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