ESRI.ArcGIS.ADF.Web.UI.WebControls
ExpandDepth Property
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > TreeViewPlus Class : ExpandDepth Property




Number of levels of the tree to display.

Syntax

Visual Basic (Declaration) 
<DefaultValueAttribute()>
<BrowsableAttribute(True)>
<ResCategoryAttribute("TreeViewPlus")>
<ResDescriptionAttribute("The number of levels of the tree to display. If the tree has two levels of nodes, set ExpandDepth to 2 to have this tree fully expanded.")>
Public Property ExpandDepth As Integer
Visual Basic (Usage)Copy Code
Dim instance As TreeViewPlus
Dim value As Integer
 
instance.ExpandDepth = value
 
value = instance.ExpandDepth
C# 
[DefaultValueAttribute()]
[BrowsableAttribute(true)]
[ResCategoryAttribute("TreeViewPlus")]
[ResDescriptionAttribute("The number of levels of the tree to display. If the tree has two levels of nodes, set ExpandDepth to 2 to have this tree fully expanded.")]
public int ExpandDepth {get; set;}

Remarks

Use this property to have the tree expanded on startup, rather than requiring the end user to click and expand the tree manually. For example, if the tree has two levels of nodes, set ExpandDepth to 2 to have this tree fully expanded on startup.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.