Delen via


MouseGestureData Class

Provides information about the mouse position.

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

Syntax

'Declaration
Public Class MouseGestureData _
    Inherits GestureData
'Usage
Dim instance As MouseGestureData
public class MouseGestureData : GestureData
public ref class MouseGestureData : public GestureData
public class MouseGestureData extends GestureData

Remarks

The StartPosition property indicates the position of the mouse when a mouse button was first clicked. All positions are always in the coordinate system of the DesignerView, so that they do not "move" as elements are moved by the user. This decorator is provided to the MouseGestureData class through the coordinateReference parameter. You can transform a coordinate to a different reference by calling the TranslatePoint method.

Inheritance Hierarchy

System.Object
  Microsoft.Windows.Design.Interaction.GestureData
    Microsoft.Windows.Design.Interaction.MouseGestureData
      Microsoft.Windows.Design.Interaction.DragGestureData

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

MouseGestureData Members

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Understanding WPF Designer Extensibility