Skip to main content

ASPxClientImageGallery.FullscreenViewerShowing Event

Fires on the client side before the fullscreen viewer is shown and allows you to cancel the action.

Declaration

FullscreenViewerShowing: ASPxClientEvent<ASPxClientImageGalleryCancelEventHandler<ASPxClientImageGallery>>

Event Data

The FullscreenViewerShowing event's data class is ASPxClientImageGalleryCancelEventArgs. The following properties provide information specific to this event:

Property Description
cancel Specifies whether to cancel the related action (for example, row edit, export). Inherited from ASPxClientCancelEventArgs.
index Gets the index of the item related to the event.
name Gets the unique identifier name of the item related to the event.

Remarks

Each time the fullscreen viewer is going to be shown, the FullscreenViewerShowing event occurs, allowing you to cancel the action. You can use the event parameter’s ASPxClientImageGalleryCancelEventArgs.index property to identify an active item index.

To cancel the fullscreen viewer showing, set the ASPxClientCancelEventArgs.cancel property to true.

See Also