'Declaration Public Property ContentAreaAppearance As Infragistics.Win.AppearanceBase
public Infragistics.Win.AppearanceBase ContentAreaAppearance {get; set;}
Imports Infragistics.Win Imports Infragistics.Win.Misc Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ' Setup the background colors of the content area. Me.UltraGroupBox1.ContentAreaAppearance.BackColor = Color.LightGray Me.UltraGroupBox1.ContentAreaAppearance.BackColor2 = Color.DarkGray Me.UltraGroupBox1.ContentAreaAppearance.BackGradientStyle = GradientStyle.ForwardDiagonal ' Move the header above the content area and center the caption. Me.UltraGroupBox1.HeaderPosition = GroupBoxHeaderPosition.TopOutsideBorder Me.UltraGroupBox1.CaptionAlignment = GroupBoxCaptionAlignment.Center End Sub
using Infragistics.Win; using Infragistics.Win.Misc; private void Form1_Load(object sender, System.EventArgs e) { // Setup the background colors of the content area. this.ultraGroupBox1.ContentAreaAppearance.BackColor = Color.LightGray; this.ultraGroupBox1.ContentAreaAppearance.BackColor2 = Color.DarkGray; this.ultraGroupBox1.ContentAreaAppearance.BackGradientStyle = GradientStyle.ForwardDiagonal; // Move the header above the content area and center the caption. this.ultraGroupBox1.HeaderPosition = GroupBoxHeaderPosition.TopOutsideBorder; this.ultraGroupBox1.CaptionAlignment = GroupBoxCaptionAlignment.Center; }
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