Share via


RibbonAutomationPeer.GetChildrenCore Method

Gets the collection of child elements of the Ribbon that is associated with this RibbonAutomationPeer. This method is called by GetChildren.

Namespace:  Microsoft.Windows.Automation.Peers
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Protected Overrides Function GetChildrenCore As List(Of AutomationPeer)
protected override List<AutomationPeer> GetChildrenCore()
protected:
virtual List<AutomationPeer^>^ GetChildrenCore() override
abstract GetChildrenCore : unit -> List<AutomationPeer> 
override GetChildrenCore : unit -> List<AutomationPeer> 
protected override function GetChildrenCore() : List<AutomationPeer>

Return Value

Type: System.Collections.Generic.List<AutomationPeer>
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.

.NET Framework Security

See Also

Reference

RibbonAutomationPeer Class

Microsoft.Windows.Automation.Peers Namespace