ISelectionProvider interface

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

Methods

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.

Remarks

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.

Requirements

   
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