IUIAutomationSelectionItemPattern interface

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

Methods

The IUIAutomationSelectionItemPattern interface has these methods.

Method Description
IUIAutomationSelectionItemPattern::AddToSelection Adds the current element to the collection of selected items.
IUIAutomationSelectionItemPattern::get_CachedIsSelected A cached value that indicates whether this item is selected.
IUIAutomationSelectionItemPattern::get_CachedSelectionContainer Retrieves the cached element that supports IUIAutomationSelectionPattern and acts as the container for this item.
IUIAutomationSelectionItemPattern::get_CurrentIsSelected Indicates whether this item is selected.
IUIAutomationSelectionItemPattern::get_CurrentSelectionContainer Retrieves the element that supports IUIAutomationSelectionPattern and acts as the container for this item.
IUIAutomationSelectionItemPattern::RemoveFromSelection Removes this element from the selection.
IUIAutomationSelectionItemPattern::Select Clears any selected items and then selects the current element.

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]
Target Platform Windows
Header uiautomationclient.h (include UIAutomation.h)

See Also

Control Pattern Interfaces for Clients