Occurs when the user clicks a disabled tab.
Class: SftTabs
Namespace: Softelvdm.SftTabsNET
Assembly: Softelvdm.SftTabsNET
public event TabEventHandler SwitchingDisabled;
Public Event SwitchingDisabled As TabEventHandlerOccurs when the user clicks a disabled tab.
private void sftTabs1_Switching(object sender, TabSwitchingEventArgs e) {
DumpValues("Switching", e);
// e.Cancel = true; would keep the current tab
}
private void sftTabs1_SwitchingDisabled(object sender, TabEventArgs e) {
DumpValues("SwitchingDisabled", e);
}
private void sftTabs1_Switched(object sender, TabSwitchedEventArgs e) {
DumpValues("Switched", e);
}
private void sftTabs1_SelectedIndexChanged(object sender, EventArgs e) {
DumpValues("SelectedIndexChanged", e);End Sub Private Sub SftTabs1_Switching(ByVal sender As System.Object, ByVal e As Softelvdm.SftTabsNET.TabSwitchingEventArgs) Handles SftTabs1.Switching DumpValues("Switching", e) ' e.Cancel = True would keep the current tab End Sub Private Sub SftTabs1_SwitchingDisabled(ByVal sender As System.Object, ByVal e As Softelvdm.SftTabsNET.TabEventArgs) Handles SftTabs1.SwitchingDisabled DumpValues("SwitchingDisabled", e) End Sub Private Sub SftTabs1_Switched(ByVal sender As System.Object, ByVal e As Softelvdm.SftTabsNET.TabSwitchedEventArgs) Handles SftTabs1.Switched DumpValues("Switched", e) End Sub
See Also SftTabs Class | Classes | SftTabs/NET 3.0