IUIAutomationSelectionPattern interface

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

Methods

The IUIAutomationSelectionPattern interface has these methods.

Method Description
IUIAutomationSelectionPattern::get_CachedCanSelectMultiple Retrieves a cached value that indicates whether more than one item in the container can be selected at one time.
IUIAutomationSelectionPattern::get_CachedIsSelectionRequired Retrieves a cached value that indicates whether at least one item must be selected at all times.
IUIAutomationSelectionPattern::get_CurrentCanSelectMultiple Indicates whether more than one item in the container can be selected at one time.
IUIAutomationSelectionPattern::get_CurrentIsSelectionRequired Indicates whether at least one item must be selected at all times.
IUIAutomationSelectionPattern::GetCachedSelection Retrieves the cached selected elements in the container.
IUIAutomationSelectionPattern::GetCurrentSelection Retrieves the selected elements in the container.

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