DragCompletedEventArgs DragCompletedEventArgs DragCompletedEventArgs DragCompletedEventArgs Class

Definition

Provides data for the DragCompleted event that occurs when a user completes a drag operation with the mouse of a Thumb control.

public : class DragCompletedEventArgs : RoutedEventArgs, IDragCompletedEventArgspublic class DragCompletedEventArgs : RoutedEventArgs, IDragCompletedEventArgsPublic Class DragCompletedEventArgs Inherits RoutedEventArgs Implements IDragCompletedEventArgs// This API is not available in Javascript.
Inheritance
DragCompletedEventArgsDragCompletedEventArgsDragCompletedEventArgsDragCompletedEventArgs
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited properties

Constructors

DragCompletedEventArgs(Double, Double, Boolean) DragCompletedEventArgs(Double, Double, Boolean) DragCompletedEventArgs(Double, Double, Boolean) DragCompletedEventArgs(Double, Double, Boolean)

Initializes a new instance of the DragCompletedEventArgs class.

public : DragCompletedEventArgs(double horizontalChange, double verticalChange, bool canceled)public DragCompletedEventArgs(Double horizontalChange, Double verticalChange, Boolean canceled)Public Sub New(horizontalChange As Double, verticalChange As Double, canceled As Boolean)// This API is not available in Javascript.
Parameters
horizontalChange
double Double Double Double

The horizontal change in position of the Thumb control, resulting from the drag operation.

verticalChange
double Double Double Double

The vertical change in position of the Thumb control, resulting from the drag operation.

canceled
bool Boolean Boolean Boolean

A value that indicates whether the drag operation was canceled by a call to the CancelDrag method.

Properties

Canceled Canceled Canceled Canceled

Gets a value that indicates whether the drag operation was canceled.

public : PlatForm::Boolean Canceled { get; }public bool Canceled { get; }Public ReadOnly Property Canceled As bool// This API is not available in Javascript.
Value
PlatForm::Boolean bool bool bool

true if the drag operation was canceled; otherwise, false.

HorizontalChange HorizontalChange HorizontalChange HorizontalChange

Gets the horizontal distance between the current mouse position and the thumb coordinates.

public : double HorizontalChange { get; }public double HorizontalChange { get; }Public ReadOnly Property HorizontalChange As double// This API is not available in Javascript.
Value
double double double double

The horizontal distance between the current mouse position and the thumb coordinates.

VerticalChange VerticalChange VerticalChange VerticalChange

Gets the vertical distance between the current mouse position and the thumb coordinates.

public : double VerticalChange { get; }public double VerticalChange { get; }Public ReadOnly Property VerticalChange As double// This API is not available in Javascript.
Value
double double double double

The vertical distance between the current mouse position and the thumb coordinates.

See Also