This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > ArcMapUI > ESRI.ArcGIS.ArcMapUI > Interfaces > IC > IContentsView3 Interface (ArcObjects .NET 10.4 SDK) |
Description | ||
---|---|---|
Activate | Activates the contents view. | |
AddToSelectedItems | Adds to the selected items. | |
BasicActivate | Activates the contents view. | |
Bitmap | Bitmap shown in Table Of Contents window toolbar. | |
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. | |
Tooltip | ||
Visible | Indicates if the view is visible. |
Interfaces | Description |
---|---|
IContentsView2 | Provides access to members that control the table of contents views of GMx. |
IContentsView | Provides access to members that control table of contents views. |
Implementation note for VB.Net developers
The Visual Studio IDE will create a stub for each property/method for each IContentsView interface when you implement IContentsView3.
Public ReadOnly Property Name() As String Implements ESRI.ArcGIS.ArcMapUI.IContentsView.Name
Public ReadOnly Property Name1() As String Implements ESRI.ArcGIS.ArcMapUI.IContentsView2.Name
Public ReadOnly Property Name2() As String Implements ESRI.ArcGIS.ArcMapUI.IContentsView3.Name
You can simplify this code by implementing each interface on a single code stub.
Public ReadOnly Property Name() As String Implements IContentsView.Name, IContentsView2.Name, IContentsView3.Name