ITOCBuddy2 Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IT > ITOCBuddy2 Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Controls)  

ITOCBuddy2 Interface

Provides access to members that control the TOC buddy.

Product Availability

Available with ArcGIS Engine.

Description

The ITOCBuddy2 interface provides additional members for tasks related to when the ITOCControl::Buddy is a GlobeControl or a custom control using GlobeLayer objects.

Members

Name Description
Method GetActiveView Returns the underlying object implementing basic map and ActiveView. This is used to populate the TOC.
Method GetScale Returns the scale of the supplied BasicMap, this allows for objects that do not support IMap.
Method IsLayerValid The TOCControl calls this method to ask the buddy if a layer is fully cached and valid if it cannot determine this on its own.
Method IsLayerVisibleAtScale The TOCControl calls this method to ask the buddy if a layer is visible at the specified scale.
Method LayerVisibilityChanged The TOCControl calls this method to instruct the buddy that layer visibility has changed.

Inherited Interfaces

Interfaces Description
ITOCBuddy Provides access to members that control the TOC buddy.

CoClasses that implement ITOCBuddy2

CoClasses and Classes Description
GlobeControl Esri GlobeControl