This document is archived and information here might be outdated.  Recommended version.


IMapControlDefault.ShowMapTips Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IM > IMapControlDefault Interface > IMapControlDefault.ShowMapTips Property
ArcGIS Developer Help

IMapControlDefault.ShowMapTips Property

Indicates if map tips are shown.

[Visual Basic .NET]
Public Property ShowMapTips As Boolean
[C#]
public bool ShowMapTips {get; set;}
[C++]
HRESULT get_ShowMapTips(
void
);
[C++]
HRESULT put_ShowMapTips(
);

Product Availability

Available with ArcGIS Engine.

Description

Determines whether map tips are displayed (if they exist) as the mouse moves over layer features. By default the ShowMapTips property is set to false. To alter the appearance and behaviour of the map tips use the TipStyle and TipDelay properties.

The text for the map tip is taken from the IActiveView::TipText property that examines the data layers to find a layer that can return map tips. Map tips are typically a field value, like a features name. For performace reasons ensure that layers that return map tips have a spatial index.

See Also

IMapControlDefault Interface