ImageGallerySettings.SetFullscreenViewerItemTextTemplateContent(Action<ImageGalleryFullscreenViewerItemTemplateContainer>) Method

Gets or sets a common template used for displaying the content of all items' fullscreen viewer text area.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v20.2.dll


public void SetFullscreenViewerItemTextTemplateContent(
    Action<ImageGalleryFullscreenViewerItemTemplateContainer> contentMethod
Public Sub SetFullscreenViewerItemTextTemplateContent(
    contentMethod As Action(Of ImageGalleryFullscreenViewerItemTemplateContainer)


Name Type Description
contentMethod Action<ImageGalleryFullscreenViewerItemTemplateContainer>

A method to which a template content rendering is delegated.


Use the SetFullscreenViewerItemTextTemplateContent property to define a common item fullscreen viewer text area template.


Once a template defined using the SetFullscreenViewerItemTextTemplateContent method is created, it is instantiated within a container object of the ImageGalleryFullscreenViewerItemTemplateContainer type. This container object exposes a set of members which can be useful when designing a template.

The thumbnail content of an individual item can be defined using the item's MVCxImageGalleryItem.SetFullscreenViewerTextTemplateContent property.

See Also