Skip to main content
Version: 4.1

PreviewKeyDownEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Provides data for the PreviewKeyDown event.

public class PreviewKeyDownEventArgs : EventArgs

Constructors​

Instance member PreviewKeyDownEventArgs(keyData)​

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

NameTypeDescription
keyDataKeysOne of the Keys values.

Properties​

Instance member Alt​

Boolean: Returns whether the ALT key was pressed.

Instance member Control​

Boolean: Returns whether the CTRL key was pressed.

Instance member IsInputKey​

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

Instance member KeyCode​

Keys: Returns the keyboard code.

Instance member KeyData​

Keys: Returns the key data.

Instance member KeyValue​

Int32: Returns the keyboard value.

Instance member Modifiers​

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

Instance member Shift​

Boolean: Returns whether the SHIFT key was pressed.

Used By​

NameDescription
PreviewKeyDownEventHandlerRepresents the method that will handle the PreviewKeyDown event.