次の方法で共有


ToolGesture.XButton2 プロパティ

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

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

構文

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

プロパティ値

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

.NET Framework セキュリティ

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

参照

参照

ToolGesture クラス

Microsoft.Windows.Design.Interaction 名前空間

その他の技術情報

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