Поделиться через


ISelectionProvider Interface

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 controls that act as containers for a collection of individual, selectable child items. The children of this control must implement ISelectionItemProvider.

Namespace:  System.Windows.Automation.Provider
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public Interface ISelectionProvider
public interface ISelectionProvider

The ISelectionProvider type exposes the following members.

Properties

  Name Description
Public propertySupported by Silverlight for Windows Phone CanSelectMultiple Gets a value that indicates whether the UI automation provider allows more than one child element to be selected concurrently.
Public propertySupported by Silverlight for Windows Phone IsSelectionRequired Gets a value that indicates whether the UI automation provider requires at least one child element to be selected.

Top

Methods

  Name Description
Public methodSupported by Silverlight for Windows Phone GetSelection Retrieves a UI automation provider for each child element that is selected.

Top

Remarks

This interface is implemented on a UI automation provider that must support the Selection control pattern.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.