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

Inherited Members

Inherited properties

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(Double, Double)
    DragStartedEventArgs(Double, Double)
    DragStartedEventArgs(Double, Double)
    DragStartedEventArgs(Double, Double)

    Initializes a new instance of the DragStartedEventArgs class.

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

    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 doublepublic double HorizontalOffset { get; }

    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 doublepublic double VerticalOffset { get; }

    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.ComposableAttribute
Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.ThreadingAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute

Details

Assembly

Windows.UI.Xaml.Controls.Primitives.dll