Skip to main content
Version: 3.5

PreviewKeyDownEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Provides data for the PreviewKeyDown event.

public class PreviewKeyDownEventArgs : EventArgs

Constructors

Instance memberPreviewKeyDownEventArgs(keyData)

Initializes a new instance of the PreviewKeyDownEventArgs class with the specified key.

NameTypeDescription
keyDataKeysOne of the Keys values.

Properties

Instance memberAlt

Boolean: Returns whether the ALT key was pressed.

Instance memberControl

Boolean: Returns whether the CTRL key was pressed.

Instance memberIsInputKey

Boolean: Returns whether a key is a regular input key.

Instance memberKeyCode

Keys: Returns the keyboard code.

Instance memberKeyData

Keys: Returns the key data.

Instance memberKeyValue

Int32: Returns the keyboard value.

Instance memberModifiers

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

Instance memberShift

Boolean: Returns whether the SHIFT key was pressed.

Used By

NameDescription
PreviewKeyDownEventHandlerRepresents the method that will handle the PreviewKeyDown event.