XRMouseEventArgs (Compact 2013)
3/28/2014
This structure contains data for mouse or stylus events other than mouse button events.
Syntax
struct XRMouseEventArgs : XRRoutedEventArgs{
XRPoint Position;
IXRStylusInfo *pStylusInfo;
IXRStylusPointCollection *pStylusPoints;
};
Inheritance Hierarchy
XRMouseEventArgs
Members
- Position
Describes the x-coordinate and y-coordinate 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.
- 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
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 |
See Also
Reference
XAML for Windows Embedded Structures
XRPoint
XRMouseButtonEventArgs