Imports Infragistics.Win
Imports Infragistics.Win.UltraWinTabs
' Place close button in the header area of the tab control.
Me.UltraTabbedMdiManager1.TabGroupSettings.CloseButtonLocation = TabCloseButtonLocation.HeaderArea
' Turn off themes so the appearance of the close buttons can be modified
Me.UltraTabbedMdiManager1.UseOsThemes = DefaultableBoolean.False
' Set the appearance of the close button in the normal state
Me.UltraTabbedMdiManager1.TabGroupSettings.CloseButtonAppearance.BackColor = Color.White
' Set the appearance of the close button when the mouse is over it
Me.UltraTabbedMdiManager1.TabGroupSettings.HotTrackCloseButtonAppearance.BackColor = Color.Red
' Set the appearance of the close button when it is pressed
Me.UltraTabbedMdiManager1.TabGroupSettings.PressedCloseButtonAppearance.BackColor = Color.Blue