次の方法で共有


RibbonAutomationPeer.ISelectionProvider.IsSelectionRequired プロパティ

Ribbon が少なくとも 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
常に true。

実装

ISelectionProvider.IsSelectionRequired

解説

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

.NET Framework セキュリティ

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

参照

参照

RibbonAutomationPeer クラス

Microsoft.Windows.Automation.Peers 名前空間