This document is archived and information here might be outdated. Recommended version. |
Provides access to members that control table of contents views.
Used to manage a contents view. The tabs in ArcMap's Table of Contents (TOC) are examples of a contents view.
Name | Description | |
---|---|---|
Activate | Activates the contents view. | |
AddToSelectedItems | Adds to the selected items. | |
ContextItem | The context item (could be an enumerator). | |
Deactivate | Deactivates the contents view. | |
hWnd | The HWND of the contents view. | |
Name | The name of the contents view. | |
ProcessEvents | Indicates if the view is currently responding to events. | |
Refresh | Refreshes the contents view. If a non-null item is specified, it refreshes only that item and its children. | |
RemoveFromSelectedItems | Removes an item from the selected items. | |
SelectedItem | The selected item (could be an enumerator). | |
ShowLines | Indicates if lines are shown in the TOC tree. | |
Visible | Indicates if the view is visible. |
CoClasses and Classes | Description |
---|---|
TOCCatalogView | Esri TOC Catalog View. |
TOCDisplayView | Esri TOC Display View. |
TOCLegendDisplayView | |
TOCLegendSelectionView | |
TOCSelectionView | Esri TOC Selection View. |
Use IContentsView to show or hide a view or to get or set selected items in a view. Selected items in the TOC's Display and Catalog View can include data frames, layers, legend groups, and legend classes. Additionally, standalone tables, workspaces, and datasets can be selected in the TOC's Catalog View. No items can be selected in the TOC's Selection view. To learn more about selected items, read the topics for Selected Item, AddToSelectedItems, and RemoveFromSelectedItems.