IUIAutomationSelectionItemPattern interface

Provides access to the selectable child items of a container control that supports IUIAutomationSelectionPattern.

When to implement

UI Automation client applications do not implement IUIAutomationSelectionItemPattern.

Members

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

Methods

The IUIAutomationSelectionItemPattern interface has these methods.

MethodDescription
AddToSelection

Adds the current element to the collection of selected items.

RemoveFromSelection

Removes this element from the selection.

Select

Clears any selected items and then selects the current element.

 

Properties

The IUIAutomationSelectionItemPattern interface has these properties.

PropertyAccess typeDescription

CachedIsSelected

Read-only

A cached value that indicates whether this item is selected.

CachedSelectionContainer

Read-only

Retrieves the cached element that supports IUIAutomationSelectionPattern and acts as the container for this item.

CurrentIsSelected

Read-only

Indicates whether this item is selected.

CurrentSelectionContainer

Read-only

Retrieves the element that supports IUIAutomationSelectionPattern and acts as the container for this item.

 

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_IUIAutomationSelectionItemPattern is defined as a8efa66a-0fda-421a-9194-38021f3578ea

See also

Control Pattern Interfaces for Clients

 

 

Community Additions

ADD
Show:
© 2014 Microsoft