Version

HiddenTabs Property

Returns a set of cached MdiTab objects.
Syntax
'Declaration
 
Public ReadOnly Property HiddenTabs As HiddenMdiTabsCollection
public HiddenMdiTabsCollection HiddenTabs {get;}
Remarks

The HiddenTabs is a collection of MdiTab objects representing Form objects that are not yet visible. When the associated form is made visible, the associated MdiTab is removed from the HiddenTabs and moved into the Tabs collection of an MdiTabGroup and the TabDisplaying event is invoked. When the form is hidden, the associated MdiTab is removed from its containing TabGroup and added to the HiddenTabs collection.

Example
The following example demonstrates how to show all the hidden tabs.

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

Private Sub miShowAll_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles miShowAll.Click
    If Not Me.ultraTabbedMdiManager1.HasHiddenTabs Then
        Return
    End If

    Dim tabs() As MdiTab = CType(Me.ultraTabbedMdiManager1.HiddenTabs.All, MdiTab())

    Me.ultraTabbedMdiManager1.BeginUpdate()

    Dim tab As MdiTab
    For Each tab In tabs
        tab.Form.Show()
    Next

    Me.ultraTabbedMdiManager1.EndUpdate()
End Sub
using Infragistics.Win;
using Infragistics.Win.UltraWinTabs;
using Infragistics.Win.UltraWinTabbedMdi;

private void miShowAll_Click(object sender, System.EventArgs e)
{
	if (!this.ultraTabbedMdiManager1.HasHiddenTabs)
		return;

	MdiTab[] tabs = (MdiTab[])this.ultraTabbedMdiManager1.HiddenTabs.All;

	this.ultraTabbedMdiManager1.BeginUpdate();

	foreach(MdiTab tab in tabs)
		tab.Form.Show();

	this.ultraTabbedMdiManager1.EndUpdate();
}
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