Share via


XRMouseEventArgs (Windows Embedded CE 6.0)

1/6/2010

This structure contains data for mouse or stylus events other than mouse button events.

Syntax

struct XRMouseEventArgs : XRRoutedEventArgs{
    XRPoint                   Position;
  IXRStylusInfo            *pStylusInfo;
  IXRStylusPointCollection *pStylusPoints;
};

Members

  • Position
    Describes the xcoordinate and ycoordinate of the pointer position that raises the event.
  • pStylusInfo
    Points to an IXRStylusInfo object that indicates whether the stylus is inverted only if a stylus movement raises the event.
  • pStylusPoints
    Points to an IXRStylusPointCollection object that represents the stylus movement only if a stylus movement raises the event.

Inheritance Hierarchy

XREventArgs

  XRRoutedEventArgs

    XRMouseEventArgs

      XRMouseButtonEventArgs

Remarks

You can write an event handler that consumes the XRMouseEventArg structure for events such as MouseEnter or MouseMove. These events occur when a mouse hovers over a UI element. The event handler uses the data in this structure to find the on-screen location of the mouse or stylus when the event is raised.

.NET Framework Equivalent

System.Windows.Input.MouseEventArgs

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

Silverlight for Windows Embedded Structures
XRPoint
XRMouseButtonEventArgs