RichTextBoxAutomationPeer.GetChildrenCore Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

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

Return Value

Type: System.Collections.Generic..::.List<(Of <(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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

RichTextBoxAutomationPeer Class

System.Windows.Automation.Peers Namespace