TreeViewAutomationPeer.GetChildrenCore Method

Definition

Gets the collection of child elements of the ContentElement that is associated with this ContentElementAutomationPeer. Called by GetChildren().

protected:
 override System::Collections::Generic::List<System::Windows::Automation::Peers::AutomationPeer ^> ^ GetChildrenCore();
protected override System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer> GetChildrenCore ();
override this.GetChildrenCore : unit -> System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer>
Protected Overrides Function GetChildrenCore () As List(Of AutomationPeer)

Returns

A collection of TreeViewItemAutomationPeer elements, or null if the TreeView that is associated with this TreeViewAutomationPeer is empty.

Applies to

See also