DataGridGroupItemAutomationPeer.GetChildrenCore Method


Retrieves automation peers for 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.Controls.Data (in System.Windows.Controls.Data.dll)

protected override List<AutomationPeer> GetChildrenCore()

Return Value

Type: System.Collections.Generic.List<AutomationPeer>
A list of automation peers for the collection of child elements.

The GetChildrenCore method returns children peers from one of the following sources: children peers of the owning row group header; item peers from the data grid; peers for all items in the constructing CollectionViewGroup. The source is determined by the currently active grouping state.


Supported in: 5, 4, 3

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

Community Additions