LogicalTreeHelper.GetChildren Method (FrameworkContentElement)


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


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