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

Description

Gets the value that indicates whether the SHIFT key was pressed when this event occurred.

Syntax

elementeventargsInstance.ShiftKeyPressed

Arguments

None

Return value

ClassDescription
boolThe value that indicates whether the SHIFT key was pressed when this event occurred.

Sample code

//anyElementeventargs is an any instance of elementeventargs type.

bool shiftkey = anyElementeventargs.ShiftKeyPressed;

Notes

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

Returns true if the SHIFT key was pressed when this event occurred. Otherwise, returns false.

Links for reference

Copyright © Rice All rights reserved.