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.v24.2.dll
Declaration
public void SetFullscreenViewerItemTextTemplateContent(
Action<ImageGalleryFullscreenViewerItemTemplateContainer> contentMethod
)
Parameters
Name | Type | Description |
---|---|---|
contentMethod | Action<ImageGalleryFullscreenViewerItemTemplateContainer> | A method to which a template content rendering is delegated. |
Remarks
Use the SetFullscreenViewerItemTextTemplateContent property to define a common item fullscreen viewer text area template.
Note
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.