Version

Appearance Property (UltraGroupBox)

Gets/sets the Appearance object associated with the control. Note, the Infragistics.Win.FontData of this Appearance object does not affect the font used by the child controls of the UltraGroupBox. You should use the control's Font property instead.
Syntax
'Declaration
 
Public Property Appearance As Infragistics.Win.AppearanceBase
public Infragistics.Win.AppearanceBase Appearance {get; set;}
Remarks

The settings on this Appearance object affect the entire control. If you want to make only the area within the borders a certain color, set the Infragistics.Win.AppearanceBase.BackColor property on the ContentAreaAppearance property.

Example
The following snippet shows how to use some of the properties available on the control's Appearance property.

Imports Infragistics.Win
Imports Infragistics.Win.Misc

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    '
    ' Set various properties on the control's Appearance object.
    '

    ' Set the cursor to be used when the mouse cursor is over the control.
    Me.UltraGroupBox1.Appearance.Cursor = Cursors.Hand

    ' Set the background image to be used in the control.
    Me.UltraGroupBox1.Appearance.ImageBackground = Bitmap.FromFile("c:\someImage.bmp")
    Me.UltraGroupBox1.Appearance.ImageBackgroundStyle = ImageBackgroundStyle.Tiled
End Sub
using Infragistics.Win;
using Infragistics.Win.Misc;

private void Form1_Load(object sender, System.EventArgs e)
{
	//
	// Set various properties on the control's Appearance object.
	//

	// Set the cursor to be used when the mouse cursor is over the control.
	this.ultraGroupBox1.Appearance.Cursor = Cursors.Hand;

	// Set the background image to be used in the control.
	this.ultraGroupBox1.Appearance.ImageBackground = Bitmap.FromFile( @"c:\someImage.bmp" );
	this.ultraGroupBox1.Appearance.ImageBackgroundStyle = ImageBackgroundStyle.Tiled;
}
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