Skip to main content

ImageSliderSettings.ThumbnailContentBytesField Property

Gets or sets an array of the bytes representing the thumbnail. A Byte array that contains the thumbnail contents.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v23.2.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public string ThumbnailContentBytesField { get; set; }

Property Value

Type Description
String

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

Remarks

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

Use the ThumbnailContentBytesField property to specify the bound data source’s data field (or an xml element’s attribute) which contains the thumbnail binary content. The ThumbnailContentBytesField property maps the ImageSliderItem.ThumbnailContentBytes (via the MVCxImageSliderItem.ThumbnailContentBytes) properties of item objects to the specified data field’s values.

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

See Also