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


ITOCControl2.ActiveView Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Controls)  

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