다음을 통해 공유


DataGridAutomationPeer.GetChildrenCore Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets automation peers for the collection of child elements of the element associated with this DataGridAutomationPeer. This method is called by GetChildren.

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

Syntax

'Declaration
Protected Overrides Function GetChildrenCore As List(Of AutomationPeer)
protected override List<AutomationPeer> GetChildrenCore()

Return Value

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

Remarks

This implementation first calls FrameworkElementAutomationPeer.GetChildrenCore to get the basic collection. Next, any peers for scroll bars are deliberately removed from the list.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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