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


ITOCControl2.ActiveView Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IT > ITOCControl2 Interface > ITOCControl2.ActiveView Property
ArcGIS Developer Help

ITOCControl2.ActiveView Property

The ActiveView used to populate the TOCControl.

[Visual Basic .NET]
Public ReadOnly Property ActiveView As IActiveView
[C#]
public IActiveView ActiveView {get;}
[C++]
HRESULT get_ActiveView(
void
);

Product Availability

Available with ArcGIS Engine.

Description

This is the ActiveView of the Buddy that is used by the TOCControl to populate itself with maps, layers and symbols. The ActiveView is set by the SetBuddyControl or SetActiveView methods.

See Also

ITOCControl2 Interface