GetChildrenCore Method
Collapse the table of content
Expand the table of content

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)

'Declaration
Protected Overrides Function GetChildrenCore As List(Of AutomationPeer)

Return Value

Type: System.Collections.Generic.List(Of AutomationPeer)
A list of AutomationPeer objects for child elements.

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft