Share via


MouseGestureData.CurrentPosition Property

Gets the current position of the mouse.

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

Syntax

'Declaration
Public ReadOnly Property CurrentPosition As Point
    Get
public Point CurrentPosition { get; }
public:
property Point CurrentPosition {
    Point get ();
}
member CurrentPosition : Point
function get CurrentPosition () : Point

Property Value

Type: System.Windows.Point
A Point object that represents the current position of the mouse.

Remarks

This point’s coordinates are always relative to the designer decorator.

.NET Framework Security

See Also

Reference

MouseGestureData Class

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Understanding WPF Designer Extensibility