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.

ISelectionProvider Members

CanSelectMultiple Gets a value that specifies whether the UI Automation provider allows more than one child element to be selected concurrently.
GetSelection Retrieves a UI Automation provider for each child element that is selected.
IsSelectionRequired Gets a value that specifies whether the UI Automation provider requires at least one child element to be selected.

Remarks

This interface is implemented by UI Automation providers.

Providers should raise an event of type InvalidatedEvent when a selection in a container has changed significantly and requires sending more notifications of additions and removals than the InvalidateLimit permits.

Interface Information

Inherits from IUnknown
Header and IDL files uiautomation.h, uiautomationcore.idl
Minimum operating systems Windows XP

See Also

UI Automation Providers Overview