TreeView::ExpandAll Method ()

 
System_CAPS_noteNote

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

Opens every node in the tree.

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

public:
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
Show: