Export (0) Print
Expand All

IUIAutomationSelectionPattern interface

Provides access to a control that contains selectable child items. The children of this element support IUIAutomationSelectionItemPattern.

When to implement

UI Automation client applications do not implement IUIAutomationSelectionPattern.

Members

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

Methods

The IUIAutomationSelectionPattern interface has these methods.

MethodDescription
GetCachedSelection

Retrieves the cached selected elements in the container.

GetCurrentSelection

Retrieves the selected elements in the container.

 

Properties

The IUIAutomationSelectionPattern interface has these properties.

PropertyAccess typeDescription

CachedCanSelectMultiple

Read-only

Retrieves a cached value that indicates whether more than one item in the container can be selected at one time.

CachedIsSelectionRequired

Read-only

Retrieves a cached value that indicates whether at least one item must be selected at all times.

CurrentCanSelectMultiple

Read-only

Indicates whether more than one item in the container can be selected at one time.

CurrentIsSelectionRequired

Read-only

Indicates whether at least one item must be selected at all times.

 

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista, Windows XP with SP3 and Platform Update for Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008, Windows Server 2003 with SP2 and Platform Update for Windows Server 2008 [desktop apps only]

Header

UIAutomationClient.h (include UIAutomation.h)

IDL

UIAutomationClient.idl

DLL

UIAutomationCore.dll

IID

IID_IUIAutomationSelectionPattern is defined as 5ed5202e-b2ac-47a6-b638-4b0bf140d78e

See also

Control Pattern Interfaces for Clients

 

 

Community Additions

ADD
Show:
© 2014 Microsoft