TreeView::ExpandAll Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Opens every node in the tree.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

void ExpandAll()

The ExpandAll method provides a convenient way to open every node in the tree.

The following code example demonstrates how to use the ExpandAll method to expand all the nodes in the TreeView control at the same time.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top