Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

LogicalTreeHelper.GetChildren Method (FrameworkContentElement)

 
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.

Returns the collection of immediate child objects of the specified FrameworkContentElement by processing the logical tree.

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

public static IEnumerable GetChildren(
	FrameworkContentElement current
)

Parameters

current
Type: System.Windows.FrameworkContentElement

The object from which to start processing the logical tree.

Return Value

Type: System.Collections.IEnumerable

The enumerable collection of immediate child objects starting from current in the logical tree.

.NET Framework
Available since 3.0
Return to top
Show:
© 2018 Microsoft