ESRI.ArcGIS.ADF.Web.UI.WebControls
Toc Class
See Also  Members  
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace : Toc Class


Table of Contents: Used for rendering the layer/swatch information of the data sources in a Map.

Object Model





Syntax

Visual Basic (Declaration)  
Public Class Toc 
   Inherits TreeViewPlus
   Implements IBuddyControlSupportITreeViewPlusNodeContainer 
Visual Basic (Usage) Copy Code
Dim instance As Toc

Remarks

The table of contents (Toc) control displays information about the resources and layers in an associated Map control. The Toc extends the TreeViewPlus, so that it displays resources and layers in a tree fashion. At the top of the tree are the services (resources) in the map (which are actually defined in the MapResourceManager associated with the Map). When a resource is expanded on the tree, the Toc displays the layers within the resource (service). And when the TocType is

SwatchList, individual layers may be expanded to display legend swatches and values.

Inheritance Hierarchy

System.Object
   System.Web.UI.Control
      System.Web.UI.WebControls.WebControl
         System.Web.UI.WebControls.CompositeControl
            ESRI.ArcGIS.ADF.Web.UI.WebControls.CompositeControl
               ESRI.ArcGIS.ADF.Web.UI.WebControls.TreeViewPlus
                  ESRI.ArcGIS.ADF.Web.UI.WebControls.Toc

Requirements

Target Platforms:Windows XP Professional, Windows Server 2003 family

See Also