ISelectionProvider インターフェイス

定義

個々の選択可能な子項目のコレクションのコンテナーとして機能するコントロールへのUI オートメーションクライアント アクセスをサポートするメソッドとプロパティを公開します。 このコントロールの子は 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
派生
属性

注釈

SelectionPattern コントロール パターンをサポートする必要があるUI オートメーション プロバイダーに実装されます。

プロパティ

名前 説明
CanSelectMultiple

UI オートメーション プロバイダーが複数の子要素を同時に選択できるかどうかを指定する値を取得します。

IsSelectionRequired

UI オートメーション プロバイダーで少なくとも 1 つの子要素を選択する必要があるかどうかを示す値を取得します。

メソッド

名前 説明
GetSelection()

選択した各子要素のUI オートメーション プロバイダーを取得します。

適用対象

こちらもご覧ください