HeaderPane
Main
Hide
Share Link
Print

TabDragDetectedEventArgs Class

Provides data for the SftTabs.DragDetected event.

Namespace: Softelvdm.SftTabsNET
Assembly: Softelvdm.SftTabsNET

Inheritance

Syntax

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

Constructors

This class cannot be instantiated.

Properties

PublicHandledSet to True when the application starts its own drag operation, which ends the control's reordering.
PublicMouseEvThe mouse event.
PublicTabThe tab being dragged.

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_MinimizeButtonClicked(object sender, EventArgs e) {
            DumpValues("MinimizeButtonClicked", e);
        }

        private void sftTabs1_RestoreButtonClicked(object sender, EventArgs e) {
            DumpValues("RestoreButtonClicked", e);
        }

        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);

VB.NET View entire sample code

Private Sub SftTabs1_MinimizeButtonClicked(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SftTabs1.MinimizeButtonClicked
    DumpValues("MinimizeButtonClicked", e)
End Sub

Private Sub SftTabs1_RestoreButtonClicked(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SftTabs1.RestoreButtonClicked
    DumpValues("RestoreButtonClicked", e)
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)

See Also Classes | SftTabs/NET 3.0