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

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