This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IT > ITOCControl2 Interface > ITOCControl2.ActiveView Property (ArcObjects .NET 10.4 SDK) |
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(
IActiveView** ActiveView
);
[C++]
Parameters ActiveView [out, retval]
ActiveView is a parameter of type IActiveView
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.