'Declaration Public Event TabDisplayed As MdiTabEventHandler
public event MdiTabEventHandler TabDisplayed
The event handler receives an argument of type MdiTabEventArgs containing data related to this event. The following MdiTabEventArgs properties provide information specific to this event.
MdiTab objects associated with non-visible forms are stored in the HiddenTabs collection and are not associated with a particular MdiTabGroup. When the associated Form is made visible, the tab is removed from the HiddenTabs and added to a MdiTabGroup. The TabDisplayed event is invoked after the tab has been added to a MdiTabGroup.
Imports Infragistics.Win Imports Infragistics.Win.UltraWinTabs Imports Infragistics.Win.UltraWinTabbedMdi Private Sub ultraTabbedMdiManager1_TabDisplayed(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinTabbedMdi.MdiTabEventArgs) Handles ultraTabbedMdiManager1.TabDisplayed ' The 'TabDisplayed' event is invoked after an MdiTab ' in the HiddenTabs collection has been moved to an ' MdiTabGroup. ' Dim msg As String = String.Format("TabDisplayed: {0}", e.Tab) System.Diagnostics.Debug.WriteLine(msg) End Sub
using Infragistics.Win; using Infragistics.Win.UltraWinTabs; using Infragistics.Win.UltraWinTabbedMdi; private void ultraTabbedMdiManager1_TabDisplayed(object sender, Infragistics.Win.UltraWinTabbedMdi.MdiTabEventArgs e) { // The 'TabDisplayed' event is invoked after an MdiTab // in the HiddenTabs collection has been moved to an // MdiTabGroup. // string msg = string.Format("TabDisplayed: {0}", e.Tab); System.Diagnostics.Debug.WriteLine(msg); }
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