ImageGallerySettings.SetFullscreenViewerTextTemplateContent(Action<ImageGalleryFullscreenViewerItemTemplateContainer>) Method

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

Namespace: DevExpress.Web.Mvc

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

Declaration

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

Parameters

Name Type Description
contentMethod Action<ImageGalleryFullscreenViewerItemTemplateContainer>

A method to which a template content rendering is delegated.

Remarks

Note

Once a template defined using the SetFullscreenViewerTextTemplateContent 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 fullscreen viewer text area can be templated at the extension level using the ImageGallerySettings.SetFullscreenViewerItemTextTemplateContent or ImageGallerySettings.SetFullscreenViewerTextTemplateContent property.

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

See Also