Expand Minimize

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.

MethodDescription
GetSelection

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

 

Properties

The ISelectionProvider interface has these properties.

PropertyAccess typeDescription

CanSelectMultiple

Read-only

Indicates whether the UI Automation provider allows more than one child element to be selected concurrently.

IsSelectionRequired

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

UIAutomationCore.h (include UIAutomation.h)

IDL

UIAutomationCore.idl

DLL

UIAutomationCore.dll

IID

IID_ISelectionProvider is defined as fb8b03af-3bdf-48d4-bd36-1a65793be168

See also

UI Automation Providers Overview

 

 

Community Additions

ADD
Show:
© 2014 Microsoft