KeyEventArgs

Wisej.Web.KeyEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Provides data for the KeyDown or KeyUp event.

public class KeyEventArgs : EventArgs

Constructors

Initializes a new instance of the KeyEventArgs class.

NameTypeDescription

keyData

A Keys representing the key that was pressed, combined with any modifier flags that indicate which CTRL, SHIFT, and ALT keys were pressed at the same time. Possible values are obtained be applying the bitwise OR (|) operator to constants from the Keys enumeration.

Properties

Boolean: Returns whether the ALT key was pressed.

Boolean: Returns whether the CTRL key was pressed.

Boolean: Returns or sets whether the event was handled.

Keys: Returns the keyboard code..

Keys: Returns the key data.

Int32: Returns the keyboard value.

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

Boolean: Returns a value indicating whether the SHIFT key was pressed.

Methods

Returns whether the Alt key is pressed.

Returns: Boolean.

Returns whether the Control key is pressed.

Returns: Boolean.

Returns whether the Shift key is pressed.

Returns: Boolean.

Used By

NameDescription

Represents the method that will handle the KeyUp or KeyDown event of a Control.

Last updated