Interface ISelectionItemProvider
Exposes methods and properties to support access by a UI automation client to individual, selectable child controls of containers that implement ISelectionProvider.
Namespace: System.Windows.Automation.Provider
Assembly: OpenSilver.dll
Syntax
public interface ISelectionItemProvider
Properties
| Improve this Doc View SourceIsSelected
Gets a value that indicates whether an item is selected.
Declaration
bool IsSelected { get; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the element is selected; otherwise, false. |
SelectionContainer
Gets the UI automation provider that implements ISelectionProvider and acts as the container for the calling object.
Declaration
IRawElementProviderSimple SelectionContainer { get; }
Property Value
Type | Description |
---|---|
IRawElementProviderSimple | The UI automation provider. |
Methods
| Improve this Doc View SourceAddToSelection()
Adds the current element to the collection of selected items.
Declaration
void AddToSelection()
RemoveFromSelection()
Removes the current element from the collection of selected items.
Declaration
void RemoveFromSelection()
Select()
Clears any existing selection and then selects the current element.
Declaration
void Select()