Show / Hide Table of Contents

Class DragCompletedEventArgs

Provides data for the DragCompleted event that occurs when a user completes a drag operation with the mouse of a Thumb control.

Inheritance
System.Object
System.EventArgs
RoutedEventArgs
DragCompletedEventArgs
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 DragCompletedEventArgs : RoutedEventArgs

Constructors

| Improve this Doc View Source

DragCompletedEventArgs(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 Source

Canceled

Gets a value that indicates whether the drag operation was canceled.

Declaration
public bool Canceled { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

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
| Improve this Doc View Source

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
  • Improve this Doc
  • View Source