FocusEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.1.0.0)
Represents the method that handles these events: GotFocus and LostFocus. Since 3.5.18
- C#
- VB.NET
public delegate void FocusEventHandler(Object sender, FocusEventArgs e)
Public Delegate Sub FocusEventHandler(ByVal sender As [Object], ByVal e As FocusEventArgs)
This delegate is not used in Wisej.NET. The GotFocus and LostFocus events are EventHandler to preserve compatibility with existing code.
Developers handling these events can simply check whether the parameter e is of type FocusEventArgs and retrieve the value by casting the event data argument.
Parameters
| Name | Type | Description |
|---|---|---|
| sender | Object | The source of the event. |
| e | FocusEventArgs | A FocusEventArgs that contains the event data. |