TreeViewItemAutomationPeer.GetChildrenCore Method ()

.NET Framework (current version)

Gets the collection of child elements of the TreeViewItem that is associated with this TreeViewItemAutomationPeer. This method is 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>

The collection of child elements.

This method is recursive. That is, it returns the hierarchy of child objects of the TreeViewItem.

.NET Framework
Available since 4.0
Return to top