Show / Hide Table of Contents

Class DragStartedEventArgs

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

Inheritance
System.Object
System.EventArgs
RoutedEventArgs
DragStartedEventArgs
Inherited Members
RoutedEventArgs.OriginalSource
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Controls.Primitives
Assembly: OpenSilver.dll
Syntax
public class DragStartedEventArgs : RoutedEventArgs

Constructors

| Improve this Doc View Source

DragStartedEventArgs(Double, Double)

Initializes a new instance of the DragStartedEventArgs class.

Declaration
public DragStartedEventArgs(double horizontalOffset, double verticalOffset)
Parameters
Type Name Description
System.Double horizontalOffset

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

System.Double verticalOffset

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

Properties

| Improve this Doc View Source

HorizontalOffset

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

Declaration
public double HorizontalOffset { get; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

VerticalOffset

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

Declaration
public double VerticalOffset { get; }
Property Value
Type Description
System.Double
  • Improve this Doc
  • View Source