HeaderPane
Main
Hide
Share Link
Print

TabReorderedEventArgs Class

Provides data for the SftTabs.TabReordered event.

Namespace: Softelvdm.SftTabsNET
Assembly: Softelvdm.SftTabsNET

Inheritance

Syntax

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

Constructors

This class cannot be instantiated.

Properties

PublicNewIndexThe tab's new position.
PublicOldIndexThe tab's former position.
PublicTabThe tab that was moved.

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_DragDetected(object sender, TabDragDetectedEventArgs e) {
            DumpValues("DragDetected", e);

            // e.Handled is left False, so the control lets the user move the tab (AllowReordering property)
        }

        private void sftTabs1_TabReordered(object sender, TabReorderedEventArgs e) {
            DumpValues("TabReordered", e);
        }

        private void sftTabs1_TabAdded(object sender, TabEventArgs e) {
            DumpValues("TabAdded", e);
        }

VB.NET View entire sample code

End Sub

Private Sub SftTabs1_DragDetected(ByVal sender As System.Object, ByVal e As Softelvdm.SftTabsNET.TabDragDetectedEventArgs) Handles SftTabs1.DragDetected
    DumpValues("DragDetected", e)

    ' e.Handled is left False, so the control lets the user move the tab (AllowReordering property)
End Sub

Private Sub SftTabs1_TabReordered(ByVal sender As System.Object, ByVal e As Softelvdm.SftTabsNET.TabReorderedEventArgs) Handles SftTabs1.TabReordered
    DumpValues("TabReordered", e)
End Sub

Private Sub SftTabs1_TabAdded(ByVal sender As System.Object, ByVal e As Softelvdm.SftTabsNET.TabEventArgs) Handles SftTabs1.TabAdded
    DumpValues("TabAdded", e)
End Sub

See Also Classes | SftTabs/NET 3.0