TreeView::ExpandDepth Property
.NET Framework (current version)
Gets or sets the number of levels that are expanded when a TreeView control is displayed for the first time.
Assembly: System.Web (in System.Web.dll)
Use the ExpandDepth property to control the rendering of the TreeView control the first time that it is displayed. On subsequent postbacks, the nodes retain their current expanded state.
.NET Framework
Available since 2.0
Available since 2.0
Show: