MVCxImageGalleryItem.SetFullscreenViewerTextTemplateContent(Action<ImageGalleryThumbnailTemplateContainer>) Method
Gets or sets a template used for displaying the content of the particular item’s fullscreen viewer text area.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
public void SetFullscreenViewerTextTemplateContent(
Action<ImageGalleryThumbnailTemplateContainer> contentMethod
)
Parameters
Name | Type | Description |
---|---|---|
contentMethod | Action<ImageGalleryThumbnailTemplateContainer> | 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 ImageGalleryThumbnailTemplateContainer type. This container object exposes a set of members which can be useful when designing a template.
Use the SetFullscreenViewerTextTemplateContent property to control the contents of the particular item’s fullscreen viewer text area.
In order to define a common content for all items within the ImageGallery extension, use the ImageGallerySettings.SetFullscreenViewerTextTemplateContent property.