ISelectionProvider::IsSelectionRequired property
Indicates whether the Microsoft UI Automation provider requires at least one child element to be selected.
This property is read-only.
Syntax
HRESULT get_IsSelectionRequired( [out, retval] BOOL *pRetVal );
Property value
Type: BOOL*
TRUE if a selection is required; otherwise FALSE. This parameter is passed uninitialized.
Remarks
This property can be dynamic. For example, the initial state of a control might not have any items selected by default, meaning that ISelectionProvider::IsSelectionRequired is FALSE. However, after an item is selected the control must always have at least one item selected.
Requirements
|
Minimum supported client |
Windows XP [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps | Windows Store apps] |
|
Header |
|
|
IDL |
|
See also