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.
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.