バージョン

MdiTabsBaseCollection クラス

MdiTab オブジェクトのコレクションの抽象基本クラス。
シンタックス
'宣言
 
Public MustInherit Class MdiTabsBaseCollection 
   Inherits Infragistics.Shared.KeyedSubObjectsCollectionBase
public abstract class MdiTabsBaseCollection : Infragistics.Shared.KeyedSubObjectsCollectionBase 
解説

コレクションに含まれる個々の MdiTab オブジェクトにアクセスするには、インデックスまたは Key を使用します。

使用例
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinTabs
Imports Infragistics.Win.UltraWinTabbedMdi

Private Sub ActivateCustomTab()
    ' iterate through all the tab groups
    Dim tabGroup As MdiTabGroup
    For Each tabGroup In Me.ultraTabbedMdiManager1.TabGroups
        ' iterate through all the tab objects 
        ' contained within the tab group
        Dim tab As MdiTab
        For Each tab In tabGroup.Tabs
            ' if the tab is not a custom tab, i.e.
            ' it does not represent a form that implements
            ' the ICustomMdiTab interface. this interface
            ' is implemented by an ultradockmanager
            ' mdi child form but could be used by other
            ' forms
            If tab.IsCustomTab Then
                ' activate the first one
                tab.Activate()
                Return
            End If
        Next
    Next
End Sub
using Infragistics.Win;
using Infragistics.Win.UltraWinTabs;
using Infragistics.Win.UltraWinTabbedMdi;

private void ActivateCustomTab()
{
	// iterate through all the tab groups
	foreach(MdiTabGroup tabGroup in this.ultraTabbedMdiManager1.TabGroups)
	{
		// iterate through all the tab objects 
		// contained within the tab group
		foreach(MdiTab tab in tabGroup.Tabs)
		{
			// if the tab is not a custom tab, i.e.
			// it does not represent a form that implements
			// the ICustomMdiTab interface. this interface
			// is implemented by an ultradockmanager
			// mdi child form but could be used by other
			// forms
			if (!tab.IsCustomTab)
				continue;

			// activate the first one
			tab.Activate();
			return;
		}
	}
}
参照