NavBarGroupDataFields.HeaderImageUrlField Property
Gets or sets the name of a data field (or an xml element’s attribute) which provides URLs for images displayed within group headers.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
String | String.Empty | A string value that specifies the name of the required data source field. |
Remarks
The HeaderImageUrlField property is in effect if the NavBarGroupDataFields control is bound to a data source (via the ASPxDataWebControlBase.DataSourceID or ASPxDataWebControlBase.DataSource property).
Use the HeaderImageUrlField property to specify the bound data source’s data field (or an xml element’s attribute) which stores locations of images that should be displayed within headers of navbar groups. The HeaderImageUrlField property maps the HeaderImage.Url properties of NavBarGroup objects to the specified data field’s values.
If the HeaderImageUrlField property of a data bound NavBarGroupDataFields control is not defined, the control can automatically obtain group header image locations from a data field which is named “HeaderImageUrl”. You can also handle the ASPxNavBar.GroupDataBound event to manipulate a group’s settings as required.