DragDeltaEventArgs DragDeltaEventArgs DragDeltaEventArgs Class

Provides data for the DragDelta event that occurs one or more times when a user drags a Thumb control with the mouse.

Syntax

Declaration

public class DragDeltaEventArgspublic class DragDeltaEventArgsPublic Class DragDeltaEventArgs

Inheritance Hierarchy

Constructors summary

Initializes a new instance of the DragDeltaEventArgs class.

Properties summary

Gets the horizontal change in the Thumb position since the last DragDelta event.

Gets the vertical change in the Thumb position since the last DragDelta event.

Constructors

  • DragDeltaEventArgs(System.Double,System.Double)
    DragDeltaEventArgs(System.Double,System.Double)
    DragDeltaEventArgs(System.Double,System.Double)
    DragDeltaEventArgs(System.Double,System.Double)

    Initializes a new instance of the DragDeltaEventArgs class.

    public DragDeltaEventArgs(System.Double horizontalChange,System.Double verticalChange)public DragDeltaEventArgs(System.Double horizontalChange,System.Double verticalChange)Public Function DragDeltaEventArgs(horizontalChange As System.Double,verticalChange As System.Double) As

    Parameters

    • horizontalChange
      System.Double
      System.Double
      System.Double

      The horizontal change in the Thumb position since the last DragDelta event.

    • verticalChange
      System.Double
      System.Double
      System.Double

      The vertical change in the Thumb position since the last DragDelta event.

Properties

  • HorizontalChange
    HorizontalChange
    HorizontalChange
    HorizontalChange

    Gets the horizontal change in the Thumb position since the last DragDelta event.

    public double HorizontalChange { get; }public double HorizontalChange { get; }Public ReadOnly Property HorizontalChange As double

    Property Value

    • double
      double
      double

      The horizontal change in the Thumb position since the last DragDelta event.

  • VerticalChange
    VerticalChange
    VerticalChange
    VerticalChange

    Gets the vertical change in the Thumb position since the last DragDelta event.

    public double VerticalChange { get; }public double VerticalChange { get; }Public ReadOnly Property VerticalChange As double

    Property Value

    • double
      double
      double

      The vertical change in the Thumb position since the last DragDelta event.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

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

Details

Assembly

Windows.UI.Xaml.Controls.Primitives.dll