This documentation is archived and is not being maintained.

ISelectionItemProvider Interface

Exposes methods and properties to support UI Automation client access to individual, selectable child controls of containers that implement ISelectionProvider.

Namespace:  System.Windows.Automation.Provider
Assembly:  UIAutomationProvider (in UIAutomationProvider.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 methodSelectDeselects any selected items and then selects the current element.

Implemented on a UI Automation provider that must support the SelectionItemPattern control pattern.

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.