Skip to main content

TreeViewSettings.ToolTipField Property

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

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public string ToolTipField { get; set; }

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 TreeView 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 the tooltip text of nodes. The ToolTipField property maps the TreeViewNode.ToolTip properties of MVCxTreeViewNode objects to the specified data field’s values.

If the ToolTipField property of a data bound TreeView is not defined, the control can automatically obtain node tooltip texts from a data field whose name is “ToolTip” (which is equal to the TreeViewNode.ToolTip property’s name).

See Also