# OnClientGalleryCommandPreview

## OnClientGalleryCommandPreview

The **OnClientGalleryCommandPreview** client-side event occurs when the user moves the mouse over 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()**
