Skip to main content
Tab

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.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(null)]
public ITemplate TextTemplate { get; set; }

Property Value

Type Default Description
ITemplate null

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

Remarks

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.

Note

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