次の方法で共有


ToolGesture.RightButton プロパティ

マウスの右ボタンが押されている間に、このジェスチャの実行が許可されているかどうかを取得または設定します。

名前空間:  Microsoft.Windows.Design.Interaction
アセンブリ:  Microsoft.Windows.Design.Interaction (Microsoft.Windows.Design.Interaction.dll 内)

構文

'宣言
Public Property RightButton As MouseButtonState
    Get
    Set
public MouseButtonState RightButton { get; set; }
public:
property MouseButtonState RightButton {
    MouseButtonState get ();
    void set (MouseButtonState value);
}
member RightButton : MouseButtonState with get, set
function get RightButton () : MouseButtonState
function set RightButton (value : MouseButtonState)

プロパティ値

型: System.Windows.Input.MouseButtonState
マウスの右ボタンが押されている間に、このジェスチャの実行が許可されている場合は、Pressed を返します。既定では Pressed を返します。

.NET Framework セキュリティ

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

参照

参照

ToolGesture クラス

Microsoft.Windows.Design.Interaction 名前空間

その他の技術情報

WPF デザイナーの機能拡張について