Version

GroupByColumnHeaderAppearance Property

Returns the default GroupByColumnHeaderAppearance
Syntax
'Declaration
 
Public Property GroupByColumnHeaderAppearance As Infragistics.Win.AppearanceBase
public Infragistics.Win.AppearanceBase GroupByColumnHeaderAppearance {get; set;}
Example
Following code sets the GroupByColumnHeaderAppearance on the layout's override and a band's override.

Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinGrid

  Private Sub Button45_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button45.Click

      ' Group-by columns are the columns with which the rows are grouped by.
      ' GroupByColumnHeaderAppearance applies to headers of the group-by columns. By
      ' default, these group-by columns are hidden by the UltraGrid. However you can set
      ' the GroupByColumnsHidden to false to prevent that. Otherwise, the
      ' GroupByColumnHeaderAppearance can not be demonstrated since the group-by columns
      ' would be hidden.
      Me.UltraGrid1.DisplayLayout.Override.GroupByColumnsHidden = DefaultableBoolean.False

      ' Set the GroupByColumnHeaderAppearance on the layout's override. This applies to headers 
      ' of group-by columns. 			
      Me.UltraGrid1.DisplayLayout.Override.GroupByColumnHeaderAppearance.BackColor = Color.Red

      ' You can override that grid-wide setting for a particular band by setting it on the
      ' override of that band.
      Me.UltraGrid1.DisplayLayout.Bands(1).Override.GroupByColumnHeaderAppearance.BackColor = Color.Blue

  End Sub
using Infragistics.Shared;
using Infragistics.Win;
using Infragistics.Win.UltraWinGrid;
using System.Diagnostics;

private void button45_Click(object sender, System.EventArgs e)
{

	// Group-by columns are the columns with which the rows are grouped by.
	// GroupByColumnHeaderAppearance applies to headers of the group-by columns. By
	// default, these group-by columns are hidden by the UltraGrid. However you can set
	// the GroupByColumnsHidden to false to prevent that. Otherwise, the
	// GroupByColumnHeaderAppearance can not be demonstrated since the group-by columns
	// would be hidden.
	this.ultraGrid1.DisplayLayout.Override.GroupByColumnsHidden = DefaultableBoolean.False;

	// Set the GroupByColumnHeaderAppearance on the layout's override. This applies to headers 
	// of group-by columns. 			
	this.ultraGrid1.DisplayLayout.Override.GroupByColumnHeaderAppearance.BackColor = Color.Red;

	// You can override that grid-wide setting for a particular band by setting it on the
	// override of that band.
	this.ultraGrid1.DisplayLayout.Bands[1].Override.GroupByColumnHeaderAppearance.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