ISelectionProvider Interface

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Exposes methods and properties to support UI Automation client access 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:  UIAutomationProvider (in UIAutomationProvider.dll)

[ComVisibleAttribute(true)]
[GuidAttribute("fb8b03af-3bdf-48d4-bd36-1a65793be168")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface ISelectionProvider

NameDescription
System_CAPS_pubpropertyCanSelectMultiple

Gets a value that specifies whether the UI Automation provider allows more than one child element to be selected concurrently.

System_CAPS_pubpropertyIsSelectionRequired

Gets a value that specifies whether the UI Automation provider requires at least one child element to be selected.

NameDescription
System_CAPS_pubmethodGetSelection()

Retrieves a UI Automation provider for each child element that is selected.

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

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: