Class DragStartedEventArgs
Provides data for the DragStarted event that occurs when a user drags a Thumb control with the mouse.
Inherited Members
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 SourceDragStartedEventArgs(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 SourceHorizontalOffset
Gets the horizontal distance between the current mouse position and the thumb coordinates.
Declaration
public double HorizontalOffset { get; }
Property Value
Type | Description |
---|---|
System.Double |
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 |