Edit

Share via


RibbonAutomationPeer.GetChildrenCore Method

Definition

Gets the collection of child elements of the Ribbon that is associated with this RibbonAutomationPeer. 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 child elements of the Ribbon that is associated with this RibbonAutomationPeer.

Remarks

The GetChildrenCore method returns a collection of AutomationPeer objects that represent the ApplicationMenu, QuickAccessToolBar, and RibbonTab objects that belong to the Ribbon.

Applies to