A newer version of this page is available. Switch to the current version.

TabControlSettings.ToolTipField Property

Gets or sets the name of a data field (or an xml element's attribute) which provides tab tooltip texts.

Namespace: DevExpress.Web.Mvc

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

Declaration

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

Property Value

Type Description
String

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

Remarks

The ToolTipField 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 ToolTipField property to specify the bound data source's data field (or an xml element's attribute) which stores tooltip texts of tabs. The ToolTipField property maps the TabBase.ToolTip properties of TabBase objects to the specified data field's values.

If the ToolTipField property of a data bound TabControl is not defined, the TabControl can automatically obtain tab tooltip texts from a data field which is named as "ToolTip" (which is equal to the TabBase.ToolTip property's name). You can also handle the TabControlSettings.TabDataBound event to manipulate a tab's settings as required.

See Also