Edit

Share via


ExpanderAutomationPeer.GetChildrenCore Method

Definition

Gets the collection of child elements of the Expander control that is associated with this ExpanderAutomationPeer, and sets the event source of the templated toggle button to this GetChildrenCore() instance.

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 of the Expander control associated with this ExpanderAutomationPeer.

Applies to