DragDeltaEventArgs Class

Definition

Provides data for the DragDelta event that occurs one or more times when a user drags a Thumb control with the mouse.

/// [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 DragDeltaEventArgs : 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 DragDeltaEventArgs : RoutedEventArgs
Public Class DragDeltaEventArgs
Inherits RoutedEventArgs
Inheritance
Object IInspectable RoutedEventArgs DragDeltaEventArgs
Attributes

Constructors

DragDeltaEventArgs(Double, Double)

Initializes a new instance of the DragDeltaEventArgs class.

Properties

HorizontalChange

Gets the horizontal change in the Thumb position since the last DragDelta event.

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 change in the Thumb position since the last DragDelta event.

Applies to

See also