Szerkesztés

Megosztás a következőn keresztül:


ISelectionProvider Interface

Definition

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.

public interface class ISelectionProvider
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("fb8b03af-3bdf-48d4-bd36-1a65793be168")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface ISelectionProvider
public interface ISelectionProvider
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("fb8b03af-3bdf-48d4-bd36-1a65793be168")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type ISelectionProvider = interface
type ISelectionProvider = interface
Public Interface ISelectionProvider
Derived
Attributes

Remarks

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

Properties

CanSelectMultiple

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

IsSelectionRequired

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

Methods

GetSelection()

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

Applies to

See also