Skip to main content
A newer version of this page is available. .
Tab

ImageSliderItem.Template Property

Gets or sets a template used for displaying the content of the particular item within the image area.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

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

Property Value

Type Default Description
ITemplate *null*

An object supporting the ITemplate interface which contains the template used for displaying the item’s content.

Remarks

Use the Template property to control the contents of a particular item. The template defined using this property replaces the item image in the image area.

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

Note

Once a template defined by this property is created, it is instantiated within a container represented by the ImageSliderItemTemplateContainer class. The ImageSliderItemTemplateContainer 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