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

Description

Gets the x-position of the mouse cursor in the document's client area.

Syntax

elementeventargsInstance.ClientMousePositionX

Arguments

None

Return value

ClassDescription
intThe x-position of the mouse cursor in the document's client area.

Sample code

//anyElementeventargs is an any instance of elementeventargs type.

int x = anyElementeventargs.ClientMousePositionX;

Notes

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

Links for reference

Copyright © Rice All rights reserved.