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.
Members
The ISelectionProvider interface inherits from the IUnknown interface. ISelectionProvider also has these types of members:
Methods
The ISelectionProvider interface has these methods.
| Method | Description |
|---|---|
| GetSelection |
Retrieves a UI Automation provider for each child element that is selected. |
Properties
The ISelectionProvider interface has these properties.
| Property | Access type | Description |
|---|---|---|
|
Read-only |
Indicates whether the UI Automation provider allows more than one child element to be selected concurrently. | |
|
Read-only |
Indicates whether the UI Automation provider requires at least one child element to be 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 | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps | Windows Store apps] |
|
Header |
|
|
IDL |
|
|
DLL |
|
|
IID |
IID_ISelectionProvider is defined as fb8b03af-3bdf-48d4-bd36-1a65793be168 |
See also