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

Description

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

Syntax

elementeventargsInstance.XButton2Pressed

Arguments

None

Return value

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

Sample code

//anyElementeventargs is an any instance of elementeventargs type.

bool pressed = anyElementeventargs.XButton2Pressed;

Notes

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

Links for reference

Copyright © Rice All rights reserved.