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, IDragCompletedEventArgs
public class DragCompletedEventArgs : RoutedEventArgs, IDragCompletedEventArgs
Public 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)

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.

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.

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.

OriginalSource OriginalSource OriginalSource

Gets a reference to the object that raised the event. This is often a template part of a control rather than an element that was declared in your app UI.

(Inherited from RoutedEventArgs)

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.

See Also