Skip to main content

ImageGallerySettings.ImageContentBytesField Property

Gets or sets the data source field which provides item binary images.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5


public string ImageContentBytesField { get; set; }

Property Value

Type Description

A string value that specifies the name of the data source field which contains binary images.


The ImageGallery extension provides the capability to display binary images. Use the ImageContentBytesField property to specify the data source field from which binary images should be retrieved. If the ImageContentBytesField property of a data bound image slider is not defined, the extension can automatically obtain item text from a data field whose name is “ImageContentBytes”.

Note that the ImageGallery extension caches the images to the folder specified via the ImageGallerySettings.ImageCacheFolder property.

See Also