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

Description

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

Syntax

elementeventargsInstance.OffsetMousePositionY

Arguments

None

Return value

ClassDescription
intThe y-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.OffsetMousePositionY;

Notes

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

Links for reference

Copyright © Rice All rights reserved.