RibbonGalleryAutomationPeer.ISelectionProvider.GetSelection Method ()

.NET Framework (current version)

Retrieves a UI Automation provider for each child element that is selected.

Namespace:   System.Windows.Automation.Peers
Assembly:  System.Windows.Controls.Ribbon (in System.Windows.Controls.Ribbon.dll)

IRawElementProviderSimple[] ISelectionProvider.GetSelection()

Return Value

Type: System.Windows.Automation.Provider.IRawElementProviderSimple[]

An AutomationPeer for each child element that is selected.

This member is an explicit interface member implementation. It can be used only when the RibbonGalleryAutomationPeer instance is cast to an ISelectionProvider interface.

.NET Framework
Available since 4.5
Return to top