# OnClientGalleryCommand

## OnClientGalleryCommand

The **OnClientGalleryCommand** client-side event occurs when the user clicks a GalleryItem

The event handler receives two parameters:

1. The instance of the **ribbonbar** firing the event

2. An **eventArgs** parameter containing the following methods:

   * **get_item()**
