Dela 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
'Usage
Dim instance As MouseGestureData 
Dim value As Point 

value = instance.CurrentPosition
public Point CurrentPosition { get; }
public:
property Point CurrentPosition {
    Point get ();
}
public 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

MouseGestureData Members

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Understanding WPF Designer Extensibility