次の方法で共有


RibbonGalleryAutomationPeer.ISelectionProvider.IsSelectionRequired プロパティ

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

名前空間:  Microsoft.Windows.Automation.Peers
アセンブリ:  RibbonControlsLibrary (RibbonControlsLibrary.dll 内)

構文

'宣言
Private ReadOnly Property IsSelectionRequired As Boolean
    Implements ISelectionProvider.IsSelectionRequired
    Get
bool ISelectionProvider.IsSelectionRequired { get; }
private:
virtual property bool IsSelectionRequired {
    bool get () sealed = ISelectionProvider::IsSelectionRequired::get;
}
private abstract IsSelectionRequired : bool
private override IsSelectionRequired : bool
JScript では、明示的なインターフェイスの実装はサポートされません。

プロパティ値

型: System.Boolean
常に false。

実装

ISelectionProvider.IsSelectionRequired

解説

このメンバーは、明示的なインターフェイス メンバーの実装です。 これは、RibbonGalleryAutomationPeer のインスタンスが ISelectionProvider インターフェイスにキャストされる場合のみ、使用できます。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

RibbonGalleryAutomationPeer クラス

Microsoft.Windows.Automation.Peers 名前空間