KeyEventArgs
Wisej.Web.KeyEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Provides data for the KeyDown or KeyUp event.
public class KeyEventArgs : EventArgs
Constructors
KeyEventArgs(keyData)

Initializes a new instance of the KeyEventArgs class.
Properties
Alt

Boolean: Returns whether the ALT key was pressed.
Control

Boolean: Returns whether the CTRL key was pressed.
Handled

Boolean: Returns or sets whether the event was handled.
KeyCode

Keys: Returns the keyboard code..
KeyData

Keys: Returns the key data.
KeyValue

Int32: Returns the keyboard value.
Modifiers

Keys: Returns the modifier flags indicating which combination of CTRL, SHIFT, and ALT keys was pressed.
Shift

Boolean: Returns a value indicating whether the SHIFT key was pressed.
Methods
IsAltPressed()

Returns whether the Alt key is pressed.
Returns: Boolean.
IsCtrlPressed()

Returns whether the Control key is pressed.
Returns: Boolean.
IsShiftPressed()

Returns whether the Shift key is pressed.
Returns: Boolean.
Used By
Last updated
Was this helpful?