MouseDelta Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Identifies the change in screen location of the mouse pointer, relative to the location of the last mouse event.
public value class MouseDelta
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
struct MouseDelta
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public struct MouseDelta
var mouseDelta = {
x : /* Your value */,
y : /* Your value */
}
Public Structure MouseDelta
- Inheritance
-
MouseDelta
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Fields
X |
The x-coordinate of the mouse pointer, relative to the location of the last mouse event. |
Y |
The y-coordinate of the mouse pointer, relative to the location of the last mouse event. |