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




A control that displays information in a hierarchical way with expandable nodes.

Object Model





Syntax

Visual Basic (Declaration) 
<ToolboxDataAttribute("<{0}:TreeViewPlus runat="server" Width="200px" Height="200px" BackColor="#ffffff" Font-Names="Verdana" Font-Size="8pt" ForeColor="#000000"> </{0}:TreeViewPlus>")>
<ToolboxBitmapAttribute()>
<ClientScriptResourceAttribute(ComponentType="ESRI.ADF.UI.TreeViewPlus", ResourcePath="ESRI.ArcGIS.ADF.Web.UI.WebControls.Runtime.JavaScript.ESRI.ADF.UI.TreeViewPlus.release.js")>
Public Class TreeViewPlus 
   Inherits CompositeControl
   Implements ITreeViewPlusNodeContainer 
Visual Basic (Usage)Copy Code
Dim instance As TreeViewPlus
C# 
[ToolboxDataAttribute("<{0}:TreeViewPlus runat="server" Width="200px" Height="200px" BackColor="#ffffff" Font-Names="Verdana" Font-Size="8pt" ForeColor="#000000"> </{0}:TreeViewPlus>")]
[ToolboxBitmapAttribute()]
[ClientScriptResourceAttribute(ComponentType="ESRI.ADF.UI.TreeViewPlus", ResourcePath="ESRI.ArcGIS.ADF.Web.UI.WebControls.Runtime.JavaScript.ESRI.ADF.UI.TreeViewPlus.release.js")]
public class TreeViewPlus : CompositeControl, ITreeViewPlusNodeContainer  

Remarks

TreeViewPlus is similar in functionality to the standard ASP.NET TreeView control, but is not derived from it. TreeViewPlus displays data in a hierarchical approach with nodes that the end user can expand and collapse.

Developers can add and remove nodes from the tree by working with the Nodes collection. The control can display portions of the nodes by setting the PageSize property. The tree may be displayed partially or fully expanded on startup by setting the ExpandDepth property.

The control has a set of events that may be subscribed to in order to detect and run code when events occur on the tree, such as when the user expands a node (NodeExpanded) or checks a box for a node item (NodeChecked).

Two Web ADF controls extend TreeViewPlus in order to have a tree-view functionality: TaskResults and Toc (Table of Contents).

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.TaskResults
                  ESRI.ArcGIS.ADF.Web.UI.WebControls.Toc

See Also

© 2010 All Rights Reserved.