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

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 Gets or sets a value indicating whether the action which raised the event should be canceled. 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