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


IMapControl3.ShowMapTips Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Controls)  

IMapControl3.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(
  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

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

IMapControl3 Interface