Back to Devexpress

MenuSettingsBase.ToolTipField Property

aspnetmvc-devexpress-dot-web-dot-mvc-dot-menusettingsbase-957eb4b6.md

latest2.2 KB
Original Source

MenuSettingsBase.ToolTipField Property

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

Namespace : DevExpress.Web.Mvc

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

NuGet Package : DevExpress.Web.Mvc5

Declaration

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

Property Value

TypeDescription
String

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

|

Remarks

The ToolTipField property is in effect if a menu is bound to a data source.

Use the ToolTipField property to specify the bound data source’s data field (or an xml element’s attribute) which stores tooltip texts of menu items. The ToolTipField property maps the ToolTip properties of menu item objects to the specified data field’s values.

If the ToolTipField property of a data bound menu is not defined, the control can automatically obtain menu item tooltip texts from a data field whose name is “ToolTip”. You can also use the MenuSettingsBase.ItemDataBound property to manipulate a menu item’s settings as required.

See Also

ItemDataBound

Data Binding Using Mapping Properties

Automatic Data Binding

Menu

MenuSettingsBase Class

MenuSettingsBase Members

DevExpress.Web.Mvc Namespace