public interface ISelectionProvider extends IInitable
Modifier and Type | Interface and Description |
---|---|
static class |
ISelectionProvider.SelectionProviderContext
context object for ISelectionProvider.
|
Modifier and Type | Method and Description |
---|---|
boolean |
get_CanSelectMultiple()
Indicates whether the Microsoft UI Automation provider allows more than one child element to be selected concurrently.
|
boolean |
get_IsSelectionRequired()
Indicates whether the Microsoft UI Automation provider requires at least one child element to be selected.
|
IUIAElement[] |
GetSelection()
Retrieves a Microsoft UI Automation provider for each child element that is selected.
|
initialize
boolean get_CanSelectMultiple()
This property may be dynamic. For example, in rare cases a control might allow multiple items to be selected on initialization but subsequently allow only single selections to be made.
boolean get_IsSelectionRequired()
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.
IUIAElement[] GetSelection()