Skip to main content

ImageSliderSettings.ThumbnailUrlField Property

Gets or sets the data source field that provides thumbnail image locations for the ImageSlider’s items.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public string ThumbnailUrlField { get; set; }

Property Value

Type Description
String

A string value that specifies the name of the required data source field.

Remarks

The ThumbnailUrlField property is in effect if an image slider is bound to a data source.

Use the ThumbnailUrlField property to specify the bound data source’s data field (or an xml element’s attribute) which stores locations of item thumbnail images that should be displayed within a navigation bar. The ThumbnailUrlField property maps the ImageSliderItem.ThumbnailUrl (via the MVCxImageSliderItem.ThumbnailUrl) properties of item objects to the specified data field’s values.

If the ThumbnailUrlField property of a data bound image slider is not defined, the ImageSlider extension can automatically obtain item thumbnail image locations from a data field that is named “ThumbnailUrl”. You can also use the ImageSliderSettings.ItemDataBound property to manipulate an image slider item’s settings as required.

See Also