| Visual Basic (Declaration) | |
|---|---|
Public Class Toc Inherits TreeViewPlus Implements IBuddyControlSupport, ITreeViewPlusNodeContainer | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public class Toc : TreeViewPlus, IBuddyControlSupport, ITreeViewPlusNodeContainer | |
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.
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
Target Platforms:Windows XP Professional, Windows Server 2003 family


~248.gif)
~248.gif)


~248.gif)


