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




Number of levels of the tree to display.

Syntax

Visual Basic (Declaration) 
<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.")>
<BrowsableAttribute(True)>
<DefaultValueAttribute()>
<ResCategoryAttribute("TreeViewPlus")>
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# 
[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.")]
[BrowsableAttribute(true)]
[DefaultValueAttribute()]
[ResCategoryAttribute("TreeViewPlus")]
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.

See Also

© 2010 All Rights Reserved.