Provides data for the SftTabs.Switched event.
Namespace: Softelvdm.SftTabsNET
Assembly: Softelvdm.SftTabsNET
Inheritance
public class TabSwitchedEventArgs : System.EventArgs;
Public Class TabSwitchedEventArgs
Inherits System.EventArgsThis class cannot be instantiated.
![]() | NewIndex | The position of the selected tab, or -1. |
![]() | OldIndex | The position of the previously selected tab, or -1. |
![]() | Tab | The selected tab, or null. |
![]() ![]() ![]() | Empty | Provides a value to use with events that do not have event data. |
![]() ![]() | Equals | Determines whether the specified object is equal to the current object. |
![]() ![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. |
![]() ![]() | GetHashCode | Serves as the default hash function. |
![]() ![]() | GetType | Gets the Type of the current instance. |
![]() ![]() | MemberwiseClone | Creates a shallow copy of the current Object. |
![]() ![]() ![]() | ReferenceEquals | Determines whether the specified Object instances are the same instance. |
![]() ![]() | ToString | Returns a string that represents the current object. |
// 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);
}
private void sftTabs1_Scrolled(object sender, TabScrolledEventArgs 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
Private Sub SftTabs1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SftTabs1.SelectedIndexChanged
DumpValues("SelectedIndexChanged", e)
End Sub
Private Sub SftTabs1_Scrolled(ByVal sender As System.Object, ByVal e As Softelvdm.SftTabsNET.TabScrolledEventArgs) Handles SftTabs1.ScrolledSee Also Classes | SftTabs/NET 3.0