DragStartedEventArgs DragStartedEventArgs DragStartedEventArgs Class

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

Syntax

Declaration

public class DragStartedEventArgspublic class DragStartedEventArgsPublic Class DragStartedEventArgs

Inheritance Hierarchy

Constructors summary

Initializes a new instance of the DragStartedEventArgs class.

Properties summary

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

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

Constructors

  • DragStartedEventArgs(System.Double,System.Double)
    DragStartedEventArgs(System.Double,System.Double)
    DragStartedEventArgs(System.Double,System.Double)
    DragStartedEventArgs(System.Double,System.Double)

    Initializes a new instance of the DragStartedEventArgs class.

    public DragStartedEventArgs(System.Double horizontalOffset,System.Double verticalOffset)public DragStartedEventArgs(System.Double horizontalOffset,System.Double verticalOffset)Public Function DragStartedEventArgs(horizontalOffset As System.Double,verticalOffset As System.Double) As

    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.

Properties

  • HorizontalOffset
    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

    Property Value

    • double
      double
      double

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

  • VerticalOffset
    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

    Property Value

    • double
      double
      double

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

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.ComposableAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute
Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.ThreadingAttribute

Details

Assembly

Windows.UI.Xaml.Controls.Primitives.dll