All pages
Powered by GitBook
1 of 1

Loading...

KeyEventArgs

Wisej.Web.KeyEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Provides data for the KeyDown or KeyUp event.

public class KeyEventArgs : EventArgs
Public Class KeyEventArgs
    Inherits EventArgs

Constructors

KeyEventArgs(keyData)

Initializes a new instance of the class.

Name
Type
Description

Properties

Alt

: Returns whether the ALT key was pressed.

Control

: Returns whether the CTRL key was pressed.

Handled

: Returns or sets whether the event was handled.

KeyCode

: Returns the keyboard code..

KeyData

: Returns the key data.

KeyValue

: Returns the keyboard value.

Modifiers

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

Shift

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

Methods

IsAltPressed()

Returns whether the Alt key is pressed.

Returns: .

IsCtrlPressed()

Returns whether the Control key is pressed.

Returns: .

IsShiftPressed()

Returns whether the Shift key is pressed.

Returns: .

Used By

Name
Description

keyData

Keys

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.

KeyEventHandler

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

KeyEventArgs
Boolean
Boolean
Boolean
Keys
Keys
Int32
Keys
Boolean
Boolean
Boolean
Boolean