DataGridAutomationPeer.ISelectionProvider.GetSelection Method ()

 

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

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

IRawElementProviderSimple[] ISelectionProvider.GetSelection()

Return Value

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

A collection of UI Automation providers.

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

.NET Framework
Available since 4.0
Silverlight
Available since 2.0
Return to top
Show: