Home Cooker Classes Others Rice CookerGX
Classes  >  elementeventargs  >  OffsetMousePositionX
elementeventargs class : OffsetMousePositionX getter

Description

Gets the x-position of the mouse cursor relative to the element that triggered the event.

Syntax

elementeventargsInstance.OffsetMousePositionX

Arguments

None

Return value

ClassDescription
intThe x-position of the mouse cursor relative to the element that triggered the event.

Sample code

//anyElementeventargs is an any instance of elementeventargs type.

int x = anyElementeventargs.OffsetMousePositionX;

Notes

It's a wrapper of the System.Windows.Forms.HtmlElementEventArgs.OffsetMousePosition.

Links for reference

Copyright © Rice All rights reserved.