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

Description

Gets the value that indicates whether the X1 mouse button was pressed when this event occurred.

Syntax

elementeventargsInstance.XButton1Pressed

Arguments

None

Return value

ClassDescription
boolThe value that indicates whether the X1 mouse button was pressed when this event occurred.

Sample code

//anyElementeventargs is an any instance of elementeventargs type.

bool pressed = anyElementeventargs.XButton1Pressed;

Notes

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

Links for reference

Copyright © Rice All rights reserved.