HeaderPane
Main
Hide
Share Link
Print

TabScrolledEventArgs Class

Provides data for the SftTabs.Scrolled event.

Namespace: Softelvdm.SftTabsNET
Assembly: Softelvdm.SftTabsNET

Inheritance

Syntax

public class TabScrolledEventArgs : System.EventArgs;
Public Class TabScrolledEventArgs
    Inherits System.EventArgs

Constructors

This class cannot be instantiated.

Properties

PublicDirectionThe direction the tabs scrolled.
PublicFirstVisibleTabThe zero-based index of the first displayed tab.

Fields

PublicStaticInherited from System.EventArgsEmptyProvides a value to use with events that do not have event data.

Methods

PublicInherited from System.ObjectEqualsDetermines whether the specified object is equal to the current object.
ProtectedInherited from System.ObjectFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
PublicInherited from System.ObjectGetHashCodeServes as the default hash function.
PublicInherited from System.ObjectGetTypeGets the Type of the current instance.
ProtectedInherited from System.ObjectMemberwiseCloneCreates a shallow copy of the current Object.
PublicStaticInherited from System.ObjectReferenceEqualsDetermines whether the specified Object instances are the same instance.
PublicInherited from System.ObjectToStringReturns a string that represents the current object.

Examples

C# View entire sample code

        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) {
            DumpValues("Scrolled", e);
        }

        private void sftTabs1_PartClicked(object sender, TabPartClickedEventArgs e) {
            DumpValues("PartClicked", e);
        }

VB.NET View entire sample code

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.Scrolled
    DumpValues("Scrolled", e)
End Sub

Private Sub SftTabs1_PartClicked(ByVal sender As System.Object, ByVal e As Softelvdm.SftTabsNET.TabPartClickedEventArgs) Handles SftTabs1.PartClicked
    DumpValues("PartClicked", e)
End Sub

See Also Classes | SftTabs/NET 3.0