Delen via


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(Windows.Foundation.UniversalApiContract, 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(Windows.Foundation.UniversalApiContract), 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

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

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