The requested page is not available for the requested platform. You are viewing the content for Default platform.

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 handler receives an argument of the ASPxClientImageGalleryCancelEventArgs type. 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