ISelectionProvider interface (uiautomationcore.h)

Provides access to controls that act as containers for a collection of individual, selectable child items. The children of this control must implement ISelectionItemProvider.


The ISelectionProvider interface inherits from the IUnknown interface. ISelectionProvider also has these types of members:


The ISelectionProvider interface has these methods.

Method Description
ISelectionProvider::get_CanSelectMultiple Indicates whether the Microsoft UI Automation provider allows more than one child element to be selected concurrently.
ISelectionProvider::get_IsSelectionRequired Indicates whether the Microsoft UI Automation provider requires at least one child element to be selected.
ISelectionProvider::GetSelection Retrieves a Microsoft UI Automation provider for each child element that is selected.


This interface is implemented by a UI Automation provider.

Providers should raise an event of type UIA_Selection_InvalidatedEventId when a selection in a container has changed significantly.


Minimum supported client Windows XP [desktop apps | UWP apps]
Minimum supported server Windows Server 2003 [desktop apps | UWP apps]
Target Platform Windows
Header uiautomationcore.h (include UIAutomation.h)

See also

UI Automation Providers Overview