This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > ArcGlobe > ESRI.ArcGIS.ArcGlobe > Interfaces > IG > IGMxDocument Interface > IGMxDocument.CurrentContentsView Property (ArcObjects .NET 10.4 SDK) |
The current contents view of the document.
[Visual Basic .NET] Public Property CurrentContentsView As IContentsView2
[C#] public IContentsView2 CurrentContentsView {get; set;}
A contents view is a tab in the table of contents. ArcGlobe has three contents views: Display (TOCGMxDisplayView), Source (TOCGMxCatalogView), and Type (TOCGMxTypeView). Only one contents view can be active at a time. Use this property to set the current contents view and to get a reference to the current contents view. Setting the current contents view automatically calls IContentsView::Refresh.