PreviewKeyDownEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.1.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.
Properties
Alt
Boolean: Returns whether the ALT key was pressed.
Value: true if the ALT key was pressed; otherwise, false.
Control
Boolean: Returns whether the CTRL key was pressed.
Value: true if the CTRL key was pressed; otherwise, false.
IsInputKey
Boolean: Returns whether a key is a regular input key.
Value: true if the key is a regular input key; otherwise, false.
KeyCode
Keys: Returns the keyboard code.
Value: One of the Keys values.
KeyData
Keys: Returns the key data.
Value: One of the Keys values.
KeyValue
Int32: Returns the keyboard value.
Value: An Int32 representing the keyboard value.
Modifiers
Keys: Returns the modifier flags indicating which combination of CTRL, SHIFT, and ALT keys was pressed.
Value: One of the Keys values.
Shift
Boolean: Returns whether the SHIFT key was pressed.
Value: true if the SHIFT key was pressed; otherwise, false.
Used By
| Name | Description |
|---|---|
| PreviewKeyDownEventHandler | Represents the method that will handle the PreviewKeyDown event. |