DragStartedEventArgs class

DragStartedEventArgs class

Provides data for the DragStarted event that occurs when a user drags a Thumb control with the mouse.

Inheritance

Object
  RoutedEventArgs
    DragStartedEventArgs

Syntax


public class DragStartedEventArgs : RoutedEventArgs

Members

The DragStartedEventArgs class has these types of members:

Constructors

The DragStartedEventArgs class has these constructors.

ConstructorDescription
DragStartedEventArgs Initializes a new instance of the DragStartedEventArgs class.

 

Methods

The DragStartedEventArgs class inherits methods from the Object class.

Properties

The DragStartedEventArgs class has these properties.

PropertyAccess typeDescription

HorizontalOffset

Read-only

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

OriginalSource

Read-only

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)

VerticalOffset

Read-only

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

 

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Xaml.Controls.Primitives
Windows::UI::Xaml::Controls::Primitives [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Controls.Primitives
Windows::UI::Xaml::Controls::Primitives [C++]

Metadata

Windows.winmd

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06020000)]
[WebHostHidden()]

See also

Object
RoutedEventArgs

 

 

Show:
© 2016 Microsoft