Export (0) Print
Expand All

RibbonGalleryAutomationPeer.ISelectionProvider.GetSelection Method

.NET Framework 4.6 and 4.5

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

Supported in: 4.6, 4.5
© 2015 Microsoft