Skip to main content

ImageSliderSettings.NavigateUrlField Property

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

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public string NavigateUrlField { get; set; }

Property Value

Type Description
String

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

Remarks

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

Use the NavigateUrlField property to specify the bound data source’s data field (or an xml element’s attribute) which stores the navigation URLs of image slider items. The NavigateUrlField property maps the ImageSliderItem.NavigateUrl (via the MVCxImageSliderItem.NavigateUrl) properties of image slider item objects to the specified data field’s values. You can format the obtained navigation locations by using the ImageSliderSettings.NavigateUrlFormatString property.

If the NavigateUrlField property of a data bound menu is not defined, ImageSlider can automatically obtain its item navigation URLs from a data field whose name is “NavigateUrl”. You can also use the ImageSliderSettings.ItemDataBound property to manipulate a menu item’s settings as required.

See Also