Version

PressedCloseButtonAppearance Property

Gets or sets the Infragistics.Win.Appearance for the pressed close button.
Syntax
'Declaration
 
Public Property PressedCloseButtonAppearance As Infragistics.Win.AppearanceBase
public Infragistics.Win.AppearanceBase PressedCloseButtonAppearance {get; set;}
Example
The following code demonstrates how to change the appearance of the close button.

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
using System.Windows.Forms;
using Infragistics.Win;
using Infragistics.Win.UltraWinTabs;

// Place close button in the header area of the tab control.
this.ultraTabbedMdiManager1.TabGroupSettings.CloseButtonLocation = TabCloseButtonLocation.HeaderArea;

// Turn off themes so the appearance of the close buttons can be modified
this.ultraTabbedMdiManager1.UseOsThemes = DefaultableBoolean.False;

// Set the appearance of the close button in the normal state
this.ultraTabbedMdiManager1.TabGroupSettings.CloseButtonAppearance.BackColor = Color.White;

// Set the appearance of the close button when the mouse is over it
this.ultraTabbedMdiManager1.TabGroupSettings.HotTrackCloseButtonAppearance.BackColor = Color.Red;

// Set the appearance of the close button when it is pressed
this.ultraTabbedMdiManager1.TabGroupSettings.PressedCloseButtonAppearance.BackColor = Color.Blue;
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