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


public ITemplate Template { get; set; }
Public Property Template As ITemplate

Property Value

Type Default Description


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


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.


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