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

ASPxImageSlider.ItemTemplate Property

Gets or sets a common template used for displaying the content of all items within the image area.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

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

Property Value

Type Default Description
ITemplate *null*

An object supporting the ITemplate interface, which contains the template used for displaying the content of all items.

Remarks

Use the ItemTemplate property to define a common content for all items. The template defined using this property replaces item images in the image area.

The content of an individual item can be defined using the item’s ImageSliderItem.Template 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