Class DragCompletedEventArgs
Provides data for the DragCompleted event that occurs when a user completes a drag operation with the mouse of a Thumb control.
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 DragCompletedEventArgs : RoutedEventArgs
Constructors
| Improve this Doc View SourceDragCompletedEventArgs(Double, Double, Boolean)
Initializes a new instance of the DragCompletedEventArgs class.
Declaration
public DragCompletedEventArgs(double horizontalChange, double verticalChange, bool canceled)
Parameters
Type | Name | Description |
---|---|---|
System.Double | horizontalChange | The horizontal change in position of the Thumb control, resulting from the drag operation. |
System.Double | verticalChange | The vertical change in position of the Thumb control, resulting from the drag operation. |
System.Boolean | canceled | A value that indicates whether the drag operation was canceled by a call to the CancelDrag method. |
Properties
| Improve this Doc View SourceCanceled
Gets a value that indicates whether the drag operation was canceled.
Declaration
public bool Canceled { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
HorizontalChange
Gets the horizontal distance between the current mouse position and the thumb coordinates.
Declaration
public double HorizontalChange { get; }
Property Value
Type | Description |
---|---|
System.Double |
VerticalChange
Gets the vertical distance between the current mouse position and the thumb coordinates.
Declaration
public double VerticalChange { get; }
Property Value
Type | Description |
---|---|
System.Double |