TabControlCancelEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents the method that will handle the Selecting or Deselecting event of a TabControl control.
- C#
- VB.NET
public delegate void TabControlCancelEventHandler(Object sender, TabControlCancelEventArgs e)
Public Delegate Sub TabControlCancelEventHandler(ByVal sender As [Object], ByVal e As TabControlCancelEventArgs)
Parameters
| Name | Type | Description |
|---|---|---|
| sender | Object | The source of the event. |
| e | TabControlCancelEventArgs | A TabControlCancelEventArgs that contains the event data. |
Fired By
| Name | Description |
|---|---|
| TabControl.Selecting | Occurs before a tab is selected, enabling a handler to cancel the tab change. |
| TabControl.TabClosing | Occurs before a tab is closed by the user, enabling a handler to cancel the tab closing. |
| TabControl.Deselecting | Occurs before a tab is deselected, enabling a handler to cancel the tab change. |