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