Skip to main content

ImageZoomNavigatorSettings.ImageContentBytesField Property

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

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public string ImageContentBytesField { get; set; }

Property Value

Type Description
String

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

Remarks

The ImageContentBytesField property is in effect if an ImageZoomNavigator is bound to a data source.

The ImageZoomNavigator extension provides the ability 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 zoom navigator is not defined, the extension can automatically obtain item image from a data field whose name is “ImageContentBytes”.

Note, that the ImageZoomNavigator extension caches the images to the folder specified via the AutoGeneratedImagesSettingsBase.ImageCacheFolder property.

See Also