Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IUIAutomationSelectionPattern::CurrentIsSelectionRequired Property

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


HRESULT IUIAutomationSelectionPattern::get_CurrentIsSelectionRequired(BOOL *retVal);


The address of a variable that receives the value of the property: TRUE if a selection is required, otherwise FALSE.

Return Value

Returns S_OK if successful, or an error value otherwise.


This property can be dynamic. For example, the initial state of a control might not have any items selected by default, but after an item is selected, the control must always have at least one item selected.

Community Additions

© 2015 Microsoft