Skip to main content

ImageGalleryItem.TextTemplate Property

Gets or sets a template used for displaying the content of the particular item’s thumbnail text area.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.1.dll

NuGet Package: DevExpress.Web


public ITemplate TextTemplate { get; set; }

Property Value

Type Default Description
ITemplate null

An object supporting the ITemplate interface that contains the thumbnail’s contents.


Use the TextTemplate property to control the contents of the particular item’s thumbnail text area.

In order to define a common content for all items within an ASPxImageGallery control, use the ASPxImageGallery.ItemTextTemplate property.


Once a template defined by this property is created, it is instantiated within a container represented by the ImageGalleryThumbnailTemplateContainer class. The ImageGalleryThumbnailTemplateContainer class implements a set of properties which can be useful when designing a template and binding the controls composing this template to data.

See Also