Drag​Started​Event​Args Drag​Started​Event​Args Drag​Started​Event​Args Class

Definition

Provides data for the DragStarted event that occurs when a user drags a Thumb control with the mouse.

public class DragStartedEventArgs : RoutedEventArgs, IDragStartedEventArgspublic class DragStartedEventArgs : RoutedEventArgs, IDragStartedEventArgsPublic Class DragStartedEventArgs Inherits RoutedEventArgs Implements IDragStartedEventArgs
Inheritance
DragStartedEventArgsDragStartedEventArgsDragStartedEventArgs
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

DragStartedEventArgs(Double, Double) DragStartedEventArgs(Double, Double) DragStartedEventArgs(Double, Double)

Initializes a new instance of the DragStartedEventArgs class.

public DragStartedEventArgs(Double horizontalOffset, Double verticalOffset)public DragStartedEventArgs(Double horizontalOffset, Double verticalOffset)Public Sub New(horizontalOffset As Double, verticalOffset As Double)
Parameters
horizontalOffset
System.Double System.Double System.Double

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

verticalOffset
System.Double System.Double System.Double

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

Attributes

Properties

HorizontalOffset HorizontalOffset HorizontalOffset

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

public double HorizontalOffset { get; }public double HorizontalOffset { get; }Public ReadOnly Property HorizontalOffset As double
Value
double double double

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

Attributes

VerticalOffset VerticalOffset VerticalOffset

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

public double VerticalOffset { get; }public double VerticalOffset { get; }Public ReadOnly Property VerticalOffset As double
Value
double double double

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

Attributes