Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ISelectionProvider Interface

 

Exposes methods and properties to support UI Automation client access to controls that act as containers for a collection of individual, selectable child items. The children of this control must implement ISelectionItemProvider.

Namespace:   System.Windows.Automation.Provider
Assembly:  UIAutomationProvider (in UIAutomationProvider.dll)

[ComVisibleAttribute(true)]
[GuidAttribute("fb8b03af-3bdf-48d4-bd36-1a65793be168")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface ISelectionProvider

NameDescription
System_CAPS_pubpropertyCanSelectMultiple

Gets a value that specifies whether the UI Automation provider allows more than one child element to be selected concurrently.

System_CAPS_pubpropertyIsSelectionRequired

Gets a value that specifies whether the UI Automation provider requires at least one child element to be selected.

NameDescription
System_CAPS_pubmethodGetSelection()

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

Implemented on a UI Automation provider that must support the SelectionPattern control pattern.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2017 Microsoft