https://learn.microsoft.com/en-us/dotnet/api/system.windows.automation.peers.ribbongroupdataautomationpeer.getautomationcontroltypecore?view=windowsdesktop-10.0
RibbonGroupDataAutomationPeer.GetAutomationControlTypeCore Method (System.Windows.Automation.Peers)...
Gets the control type for the RibbonGroup that is associated with this RibbonGroupDataAutomationPeer. This method is called by GetAutomationControlType().
methodsystemwindowsautomationpeers