Editar

Compartir vía


TreeViewItemAutomationPeer.GetChildrenCore Method

Definition

Gets the collection of child elements of the TreeViewItem that is associated with this TreeViewItemAutomationPeer. This method is 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

The collection of child elements.

Remarks

This method is recursive. That is, it returns the hierarchy of child objects of the TreeViewItem.

Applies to