ISelectionItemProvider Interface

ISelectionItemProvider Interface

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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:  System.Windows (in System.Windows.dll)

public interface ISelectionItemProvider

The ISelectionItemProvider type exposes the following members.

Public propertyIsSelectedGets a value that indicates whether an item is selected.
Public propertySelectionContainerGets the UI automation provider that implements ISelectionProvider and acts as the container for the calling object.

Public methodAddToSelectionAdds the current element to the collection of selected items.
Public methodRemoveFromSelectionRemoves the current element from the collection of selected items.
Public methodSelectClears any existing selection and then selects the current element.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2016 Microsoft