PreviewKeyDownEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the PreviewKeyDown event.
- C#
- VB.NET
public class PreviewKeyDownEventArgs : EventArgs
Public Class PreviewKeyDownEventArgs
Inherits EventArgs
Constructors
PreviewKeyDownEventArgs(keyData)
Initializes a new instance of the PreviewKeyDownEventArgs class with the specified key.
| Name | Type | Description |
|---|---|---|
| keyData | Keys | 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 |
|---|---|
| PreviewKeyDownEventHandler | Represents the method that will handle the PreviewKeyDown event. |