KeyEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents the method that will handle the KeyUp or KeyDown event of a Control.
- C#
- VB.NET
public delegate void KeyEventHandler(Object sender, KeyEventArgs e)
Public Delegate Sub KeyEventHandler(ByVal sender As [Object], ByVal e As KeyEventArgs)
Parameters
| Name | Type | Description |
|---|---|---|
| sender | Object | The source of the event. |
| e | KeyEventArgs | A KeyEventArgs that contains the event data. |
Fired By
| Name | Description |
|---|---|
| Control.KeyDown | Fired when a key is pressed while the control has focus. |
| Control.KeyUp | Fired when a key is released while the control has focus. |