Share via


DragCompletedEventArgs Class

Definition

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

/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class DragCompletedEventArgs : RoutedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public class DragCompletedEventArgs : RoutedEventArgs
Public Class DragCompletedEventArgs
Inherits RoutedEventArgs
Inheritance
Object IInspectable RoutedEventArgs DragCompletedEventArgs
Attributes

Constructors

DragCompletedEventArgs(Double, Double, Boolean)

Initializes a new instance of the DragCompletedEventArgs class.

Properties

Canceled

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

HorizontalChange

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

OriginalSource

Gets a reference to the object that raised the event. This is often a template part of a control rather than an element that was declared in your app UI.

(Inherited from RoutedEventArgs)
VerticalChange

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

Applies to

See also