Share via


XRDragStartedEventArgs (Compact 2013)

3/28/2014

This structure contains DragStarted event data about the on-screen coordinates of the mouse pointer or stylus in relation to the current on-screen position of a thumb control.

Syntax

struct XRDragStartedEventArgs : XRRoutedEventArgs{
   double VerticalOffset;
   double HorizontalOffset;
};

Inheritance Hierarchy

XREventArgs

    XRRoutedEventArgs

        XRDragStartedEventArgs

Members

  • VerticalOffset
    Indicates the vertical distance between the thumb and the mouse click or stylus tap.
  • HorizontalOffset
    Indicates the horizontal distance between the thumb and the mouse click or stylus tap.
  • pSource
    Points to an IXRDependencyObject object that represents the source. This is the first object that raised the routed event. Inherited from XRRoutedEventArgs.
  • Size
    Indicates the size, in bytes, of this structure. Inherited from XREventArgs.

Remarks

A DragStarted event occurs when the user starts to drag the thumb across the scrollbar.

.NET Framework Equivalent

System.Windows.Controls.Primitives.DragStartedEventArgs

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

XAML for Windows Embedded Structures