ASPxImageGallery.NavigateUrlField Property
Gets or sets the name of a data field (or an xml element’s attribute) which provides image gallery item navigation locations.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
String | String.Empty | A string value that specifies the name of the required data source field. |
Remarks
The NavigateUrlField property is in effect if an image gallery 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 gallery items. The NavigateUrlField property maps the ImageGalleryItem.NavigateUrl properties of image gallery item objects to the specified data field’s values. You can format the obtained navigation locations by using the ASPxImageGallery.NavigateUrlFormatString property.
If the NavigateUrlField property of a data bound image gallery is not defined, the control can automatically obtain item navigation URLs from a data field whose name is “NavigateUrl”. You can also use the ASPxImageGallery.ItemDataBound property to manipulate an item’s settings as required.