Property OffsetLocation
- Namespace
- DotNetBrowser.Dom.Events
- Assembly
- DotNetBrowser.dll
OffsetLocation
Gets the location of the mouse cursor in the component's coordinate system at the time the event occurred.
Point OffsetLocation { get; }
Property Value
- Point
The location of the mouse cursor.
Remarks
For example, clicking in the top-left corner of the client area will always result in that
the X
field of the result equals 0, regardless of whether the page is scrolled
horizontally.
This API is available since DotNetBrowser 2.1.