Show / Hide Table of Contents

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 Source

IsSelected

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.

| Improve this Doc View Source

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 Source

AddToSelection()

Adds the current element to the collection of selected items.

Declaration
void AddToSelection()
| Improve this Doc View Source

RemoveFromSelection()

Removes the current element from the collection of selected items.

Declaration
void RemoveFromSelection()
| Improve this Doc View Source

Select()

Clears any existing selection and then selects the current element.

Declaration
void Select()
  • Improve this Doc
  • View Source