DocumentAutomationPeer.GetChildrenCore Method ()


Gets the collection of child elements for the FrameworkContentElement that is associated with this DocumentAutomationPeer. This method is called by GetChildren.

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

protected override List<AutomationPeer> GetChildrenCore()

Return Value

Type: System.Collections.Generic.List<AutomationPeer>

Because DocumentAutomationPeer gives access to its content through TextPattern, this method always returns null.

.NET Framework
Available since 3.0
Return to top