This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IM > IMapControl3 Interface > IMapControl3.ShowMapTips Property (ArcObjects .NET 10.5 SDK) |
Indicates if map tips are shown.
[Visual Basic .NET] Public Property ShowMapTips As Boolean
[C#] public bool ShowMapTips {get; set;}
[C++]
HRESULT get_ShowMapTips(
VARIANT_BOOL* Show
);
[C++]
HRESULT put_ShowMapTips(
VARIANT_BOOL Show
);
[C++]
Parameters Show [out, retval] Show is a parameter of type VARIANT_BOOL Show [in] Show is a parameter of type VARIANT_BOOL
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.