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


ILayer.ShowTips Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

ILayer.ShowTips Property

Indicates if the layer shows map tips.

[Visual Basic .NET]
Public Property ShowTips As Boolean
[C#]
public bool ShowTips {get; set;}
[C++]
HRESULT get_ShowTips(
  VARIANT_BOOL* Show
);
[C++]
HRESULT put_ShowTips(
  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, ArcGIS Desktop, and ArcGIS Server.

Remarks

Indicates whether or not map tips are shown for the layer. If set to True, then map tips will be shown for the layer. You can determine the text that will be shown via TipText. For a FeatureLayer, this text comes from the data for IFeatureLayer::DisplayField.

See Also

ILayer Interface

.NET Samples

Executing geoprocessing tools in the background (Code Files: RunGPForm) | Displaying MapTips in the MapControl (Code Files: MapTips)