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.v20.2.dll

Declaration

[DefaultValue(null)]
public ITemplate TextTemplate { get; set; }
<DefaultValue(Nothing)>
Public Property TextTemplate As ITemplate

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