LogicalTreeHelper.GetChildren Method (FrameworkContentElement)


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