Version

HasHiddenTabs Property

Indicates if the HiddenTabs collection contains any items
Syntax
'Declaration
 
Public ReadOnly Property HasHiddenTabs As Boolean
public bool HasHiddenTabs {get;}
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