Tab

ASPxImageZoomNavigator.ImageUrlField Property

Gets or sets the name of a data field (or an xml element’s attribute) which provides items’ image locations.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

Declaration

[DefaultValue("")]
public string ImageUrlField { get; set; }

Property Value

Type Default Description
String

String.Empty

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

Remarks

The ImageUrlField property is in effect if an image zoom navigator is bound to a data source.

Use the ImageUrlField property to specify the bound data source’s data field (or an xml element’s attribute) which stores locations of item images that should be displayed within the preview image. The ImageUrlField property maps the ImageZoomNavigatorItem.ImageUrl properties of item objects to the specified data field’s values.

If the ImageUrlField property of a data bound image zoom navigator is not defined, the control can automatically obtain item image locations from a data field which is named “ImageUrl”. You can also use the ASPxImageZoomNavigator.ItemDataBound event to manipulate an image slider item’s settings as required.

See Also