PreviewKeyDownEventArgs

Wisej.Web.PreviewKeyDownEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.1.0.0)

Provides data for the PreviewKeyDown event.

public class PreviewKeyDownEventArgs : EventArgs

Constructors

PreviewKeyDownEventArgs(keyData)

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

Name
Type
Description

keyData

One of the Keys values.

Properties

Alt

Boolean: Returns whether the ALT key was pressed.

Control

Boolean: Returns whether the CTRL key was pressed.

IsInputKey

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

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 whether the SHIFT key was pressed.

Used By

Name
Description

Represents the method that will handle the PreviewKeyDown event.

Last updated