Drag​Completed​Event​Args Drag​Completed​Event​Args Drag​Completed​Event​Args 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
Inheritance
DragCompletedEventArgsDragCompletedEventArgsDragCompletedEventArgs
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)

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)
Parameters
horizontalChange
double Double Double

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

verticalChange
double Double Double

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

canceled
bool Boolean Boolean

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

Attributes

Properties

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
Value
PlatForm::Boolean bool bool

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

Attributes

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
Value
double double double

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

Attributes

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
Value
double double double

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

Attributes

See Also