TreeViewAutomationPeer.GetChildrenCore Method ()


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

Gets the collection of child elements of the ContentElement that is associated with this ContentElementAutomationPeer. Called by GetChildren.

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

protected override List<AutomationPeer> GetChildrenCore()

Return Value

Type: System.Collections.Generic.List<AutomationPeer>

A collection of TreeViewItemAutomationPeer elements, or null if the TreeView that is associated with this TreeViewAutomationPeer is empty.

.NET Framework
Available since 3.0
Available since 3.0
Return to top