Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

UIAutomationCore.h (include UIAutomation.h)

IDL

UIAutomationCore.idl

See also

ISelectionProvider
UI Automation Providers Overview

 

 

Show:
© 2017 Microsoft