Поделиться через


RichTextBoxAutomationPeer.GetChildrenCore Method

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

Returns automation peers for the collection of child elements of the RichTextBox that is associated with this FrameworkElementAutomationPeer. This method is called by GetChildren.

Namespace:  System.Windows.Automation.Peers
Assembly:  System.Windows (in System.Windows.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 AutomationPeer objects for child elements.

Remarks

If hyperlinks exist as child content, this method returns automation peers for each hyperlink in the returned list. The items are HyperlinkAutomationPeer values, which is an internal class; therefore, you can access members and values through the base AutomationPeer only.

Version Information

Silverlight

Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

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