Export (0) Print
Expand All
Expand Minimize

AutomationPeer.GetChildren Method

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)

public List<AutomationPeer> GetChildren()

Return Value

Type: System.Collections.Generic.List<AutomationPeer>
The collection of child elements.

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.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft