Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Win.Map

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 Hints and Tooltips document.

Example

View Example

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

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ToolTipController property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also