Dela via


ToolGesture Class

Represents a tool interaction with the mouse.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Class ToolGesture _
    Inherits InputGesture
'Usage
Dim instance As ToolGesture
public class ToolGesture : InputGesture
public ref class ToolGesture : public InputGesture
public class ToolGesture extends InputGesture

Remarks

A tool gesture is a Windows Presentation Foundation (WPF)-style input gesture that represents a tool interaction with the mouse. The ToolGesture class is similar to the MouseGesture class, but defines a richer set of interactions. Note that ToolGesture and MouseGesture overlap, and the designer adorner that translates events into input bindings can use both. The designer adorner favors tool gestures, and in their absence will look for mouse gestures.

Inheritance Hierarchy

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ToolGesture Members

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Understanding WPF Designer Extensibility