Version

TabDropped Event

Event that occurs after an MdiTab drag operation is completed.
Syntax
'Declaration
 
Public Event TabDropped As MdiTabDroppedEventHandler
public event MdiTabDroppedEventHandler TabDropped
Event Data

The event handler receives an argument of type MdiTabDroppedEventArgs containing data related to this event. The following MdiTabDroppedEventArgs properties provide information specific to this event.

PropertyDescription
Tab (Inherited from Infragistics.Win.UltraWinTabbedMdi.MdiTabEventArgs)Returns the associated MdiTab
Remarks

The TabDropped event is invoked when a drag operation has completed. The event will be invoked after any related move operations have occurred.

Example
The following sample demonstrates how to use the information passed to the TabDropped event.

For an overview of how to handle events in Visual Basic or Visual C#, see Event Handlers in Visual Basic and Visual C#. For specific information and code examples illustrating how to consume events in your application, see Consuming Events in the .NET Framework Developer's Guide.

Imports Infragistics.Win
Imports Infragistics.Win.UltraWinTabs
Imports Infragistics.Win.UltraWinTabbedMdi

Private Sub ultraTabbedMdiManager1_TabDropped(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinTabbedMdi.MdiTabDroppedEventArgs) Handles ultraTabbedMdiManager1.TabDropped
    ' The 'TabDropped' event occurs after a drag operation
    ' for an MdiTab has completed.
    '

    Dim msg As String = String.Format("TabDropped: Tab ['{0}'] was dragged", e.Tab)

    System.Diagnostics.Debug.WriteLine(msg)
End Sub
using Infragistics.Win;
using Infragistics.Win.UltraWinTabs;
using Infragistics.Win.UltraWinTabbedMdi;

private void ultraTabbedMdiManager1_TabDropped(object sender, Infragistics.Win.UltraWinTabbedMdi.MdiTabDroppedEventArgs e)
{
	// The 'TabDropped' event occurs after a drag operation
	// for an MdiTab has completed.
	//

	string msg = string.Format("TabDropped: Tab ['{0}'] was dragged", e.Tab);

	System.Diagnostics.Debug.WriteLine(msg);
}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also