MapControl.ToolTipController Property

Specifies the tooltip controller component that controls the appearance, position and other settings of tooltips displayed for the Map control.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v21.1.dll

Declaration

[DefaultValue(null)]
public ToolTipController ToolTipController { get; set; }

Property Value

Type Default Description
ToolTipController

null

A ToolTipController object.

Remarks

The map control displays tooltips if the MapControl.ShowToolTips property is set to true.

By default, if the ToolTipController property is set to null, the appearance and behavior of tooltips is controlled by the default tooltip controller (it can be accessed via the ToolTipController.DefaultController static member or the DefaultToolTipController component).

The ToolTipController property allows a custom ToolTipController component, which provides custom appearance and behavior settings for tooltips to be specified. Add a ToolTipController component to the form, and assign it to the ToolTipController property of a map control.

For more information, see the Tooltips document.

Example

View Example

object data = LoadData(dataFilepath);
mapControl.ToolTipController = new ToolTipController() {
    AllowHtmlText = true
};
See Also