Share via


XRDragCompletedEventArgs (Compact 2013)

3/28/2014

This structure contains DragCompleted 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 XRDragCompletedEventArgs : XRRoutedEventArgs{
    double  HorizontalChange;
    double  VerticalChange;
    bool    Cancelled;
};

Inheritance Hierarchy

XREventArgs

    XRRoutedEventArgs

        XRDragCompletedEventArgs

Members

  • HorizontalChange
    Indicates the horizontal distance between the beginning thumb location and the release location.
  • VerticalChange
    Indicates the vertical distance between the beginning thumb location and the release location.
  • Cancelled
    Indicates whether the drag operation was canceled. true if the drag operation was canceled; otherwise false.
  • 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

The DragCompleted event occurs when the user releases the left mouse button or stylus after dragging the thumb.

.NET Framework Equivalent

System.Windows.Controls.Primitives.DragCompletedEventArgs

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

XAML for Windows Embedded Structures