TabControlSettings.TabImageUrlField Property

Gets or sets the name of a data field (or an xml element's attribute) which provides URLs for images displayed within tabs.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v20.2.dll


public string TabImageUrlField { get; set; }
Public Property TabImageUrlField As String

Property Value

Type Description

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


The TabImageUrlField property is in effect if the TabControl is bound to a data source (via the TabControlExtension.Bind, TabControlExtension.BindToSiteMap or TabControlExtension.BindToXML methods).

Use the TabImageUrlField 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 tabs in their inactive state. The TabImageUrlField property maps the TabImage.Url properties of TabBase objects to the specified data field's values.

If the TabImageUrlField property of a data bound TabControl is not defined, the TabControl can automatically obtain tab image locations from a data field which is named "TabImageUrl". You can also handle the TabControlSettings.TabDataBound event to manipulate a tab's settings as required.

See Also