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

Description

Gets the relative y-position of the mouse cursor which is based on a positioning parent element.

Syntax

elementeventargsInstance.MousePositionY

Arguments

None

Return value

ClassDescription
intThe relative y-position of the mouse cursor which is based on a positioning parent element.

Sample code

//anyElementeventargs is an any instance of elementeventargs type.

int x = anyElementeventargs.MousePositionY;

Notes

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

Links for reference

Copyright © Rice All rights reserved.