Gets or sets the unit of measure used for mouse coordinates.
A member of the GraphicsUnit enumeration. The default is GraphicsUnit.Pixel.
PositionUnit specifies how the mouse Position coordinates are interpreted.
| Exception Type | Condition |
|---|---|
| NotSupportedException | When value is GraphicsUnit.World. |
| InvalidEnumArgumentException | When value is not a valid enumeration value. |
MouseController Class | NUnit.Extensions.Forms Namespace