次の方法で共有


ToolGesture クラス

更新 : 2007 年 11 月

マウスによるツールの操作を表します。

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

構文

'宣言
Public Class ToolGesture _
    Inherits InputGesture
'使用
Dim instance As ToolGesture
public class ToolGesture : InputGesture
public ref class ToolGesture : public InputGesture
public class ToolGesture extends InputGesture

解説

ツール ジェスチャは、Windows Presentation Foundation (WPF) スタイルの入力ジェスチャで、マウスによるツールの操作を表します。ToolGesture クラスは MouseGesture クラスに似ていますが、より多彩な操作を定義します。ToolGesture と MouseGesture はオーバーラップしており、イベントを入力バインディングに変換するデザイナ装飾ではこの両方を使用できます。デザイナ装飾では、ツール ジェスチャの方を優先し、これがない場合にマウス ジェスチャを探します。

継承階層

System.Object
  System.Windows.Input.InputGesture
    Microsoft.Windows.Design.Interaction.ToolGesture

スレッド セーフ

この型のすべてのパブリック static (Visual Basic では Shared) メンバは、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。

参照

参照

ToolGesture メンバ

Microsoft.Windows.Design.Interaction 名前空間

その他の技術情報

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