ExpandSubtree Method

TreeView.ExpandSubtree Method (TreeViewItem)

.NET Framework (current version)
 

Expands the specified TreeViewItem control and all its child TreeViewItem elements.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

Protected Overridable Function ExpandSubtree (
	container As TreeViewItem
) As Boolean

Parameters

container
Type: System.Windows.Controls.TreeViewItem

The TreeViewItem to expand.

Return Value

Type: System.Boolean

true if the specified TreeViewItem and all its child elements were expanded; otherwise, false.

.NET Framework
Available since 4.0
Return to top
Show:
© 2016 Microsoft