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

Description

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

Syntax

elementeventargsInstance.MiddlePressed

Arguments

None

Return value

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

Sample code

//anyElementeventargs is an any instance of elementeventargs type.

bool pressed = anyElementeventargs.MiddlePressed;

Notes

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

Links for reference

Copyright © Rice All rights reserved.