AutomationPeer.GetChildren Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the collection of child elements that are represented in the UI Automation tree as immediate child elements of the automation peer.
Namespace: System.Windows.Automation.Peers
Assembly: System.Windows (in System.Windows.dll)
Syntax
Public Function GetChildren As List(Of AutomationPeer)
public List<AutomationPeer> GetChildren()
Return Value
Type: System.Collections.Generic..::.List<(Of <(AutomationPeer>)>)
The collection of child elements.
Remarks
This implementation does nothing more than calling GetChildrenCore.
GetChildren might have a useful value when the peer it is invoked upon is the peer for an items control or a similar control.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone