The MouseDragEventArgs type exposes the following members.

Methods

  Name Description
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetPosition
Returns the x- and y-coordinates of the mouse pointer position, optionally evaluated against a coordinate origin of a supplied UIElement.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  Name Description
Public property CurrentPosition
Gets the current mouse position, relative to the application root.
Public property DeltaX
Gets the variation of X between the previous mouse position and the current one.
Public property DeltaY
Gets the variation of Y between the previous mouse position and the current one.
Public property PreviousPosition
Gets the mouse position from the previous drag event, relative to the application root.
Public property StartPosition
Gets the mouse position where the drag started, relative to the application root.
Public property TotalDeltaX
Gets the variation of X between the mouse position where the drag started and the current one.
Public property TotalDeltaY
Gets the variation of Y between the mouse position where the drag started and the current one.

See Also