'Declaration Public ReadOnly Property TabGroups As MdiTabGroupsCollection
public MdiTabGroupsCollection TabGroups {get;}
Imports Infragistics.Win Imports Infragistics.Win.UltraWinTabs Imports Infragistics.Win.UltraWinTabbedMdi Private Sub ultraTabbedMdiManager1_TabGroupResized(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinTabbedMdi.MdiTabGroupResizedEventArgs) Handles ultraTabbedMdiManager1.TabGroupResized ' The 'TabGroupResized' event is invoked after the Extent of ' one or more MdiTabGroup objects has been modified. ' Dim sb As System.Text.StringBuilder = New System.Text.StringBuilder() sb.Append("TabGroupResized:") Dim i As Integer For i = 0 To e.TabGroups.Count - 1 Step +1 ' The 'TabGroups' parameter returns a collection ' of one or more MdiTabGroup objects that have had ' its Extent modified. ' Dim tabGroup As MdiTabGroup = e.TabGroups(i) sb.AppendFormat(" [#{0}] TabGroup ({1}) was resized. Extent = {2} ClientExtent = {3};", i, tabGroup, tabGroup.Extent, tabGroup.ClientExtent) Next System.Diagnostics.Debug.WriteLine(sb.ToString()) End Sub
using Infragistics.Win; using Infragistics.Win.UltraWinTabs; using Infragistics.Win.UltraWinTabbedMdi; private void ultraTabbedMdiManager1_TabGroupResized(object sender, Infragistics.Win.UltraWinTabbedMdi.MdiTabGroupResizedEventArgs e) { // The 'TabGroupResized' event is invoked after the Extent of // one or more MdiTabGroup objects has been modified. // System.Text.StringBuilder sb = new System.Text.StringBuilder(); sb.Append("TabGroupResized:"); for(int i = 0; i < e.TabGroups.Count; i++) { // The 'TabGroups' parameter returns a collection // of one or more MdiTabGroup objects that have had // its Extent modified. // MdiTabGroup tabGroup = e.TabGroups[i]; sb.AppendFormat( " [#{0}] TabGroup ({1}) was resized. Extent = {2} ClientExtent = {3};", i, tabGroup, tabGroup.Extent, tabGroup.ClientExtent); } System.Diagnostics.Debug.WriteLine( sb.ToString() ); }
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