Udostępnij za pośrednictwem


RibbonAutomationPeer.GetChildrenCore Metoda

Definicja

Pobiera kolekcję elementów podrzędnych skojarzonych Ribbon z tym RibbonAutomationPeerelementem . Ta metoda jest wywoływana przez GetChildren()metodę .

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)

Zwraca

List<AutomationPeer>

Elementy podrzędne Ribbon skojarzone z tym RibbonAutomationPeerelementem .

Uwagi

Metoda GetChildrenCore zwraca kolekcję AutomationPeer obiektów reprezentujących ApplicationMenuobiekty , QuickAccessToolBari RibbonTab należące do Ribbonobiektu .

Dotyczy