Microsoft Silverlight will reach end of support after October 2021. Learn more.
Exposes methods and properties to support access by a UI automation client to individual, selectable child controls of containers that implement ISelectionProvider.
Assembly: System.Windows (in System.Windows.dll)
'Declaration Public Interface ISelectionItemProvider
public interface ISelectionItemProvider
The ISelectionItemProvider type exposes the following members.
|IsSelected||Gets a value that indicates whether an item is selected.|
|SelectionContainer||Gets the UI automation provider that implements ISelectionProvider and acts as the container for the calling object.|
|AddToSelection||Adds the current element to the collection of selected items.|
|RemoveFromSelection||Removes the current element from the collection of selected items.|
|Select||Clears any existing selection and then selects the current element.|
This interface is implemented on a UI automation provider that must support the SelectionItemPattern control pattern.
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.