TabItemAutomationPeer.GetChildrenCore Method

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

Gets a list of peers for the collection of child elements from the owner TabItem. This method is called by GetChildren.

Namespace:  System.Windows.Automation.Peers
Assembly:  System.Windows.Controls (in System.Windows.Controls.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 all TabItem content, for cases where the Content of a TabControl is a collection of elements and not a single element.

Remarks

The items returned by this method are influenced by selected items and also by the content presenter that acts on the items.

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.