This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > ArcMapUI > ESRI.ArcGIS.ArcMapUI > Interfaces > IC > IContentsViewEdit Interface (ArcObjects .NET 10.5 SDK) |
Provides access to members that control Contents View Edit.
Used to add or remove tabs of the Table of Contents (TOC) in ArcMap, ArcScene, or ArcGlobe.
Description | ||
---|---|---|
AddContentsView | Adds a contents view object to the TOC. | |
ClearContentsViews | Removes all current contents views. |
CoClasses and Classes | Description |
---|---|
GMxDocument (esriArcGlobe) | Provides access to members that control the ArcGlobe document. |
MxDocument | Esri Mx Document. |
When tabs are cleared, they are removed from the TOC and also they do not appear in the TOC options dialog (in ArcMap and ArcGlobe: Tools > Options > Table of Contents). To simply show/hide tabs, use IContentsView::Visible. When IContentsViewEdit is used, the tab state is saved in the document template (normal.mxt or normal.sxt). Deleting the document template returns the tab state to the default.