Version

GroupByColumnAppearance Property

Returns the default GroupByColumnAppearance
Syntax
'Declaration
 
Public Property GroupByColumnAppearance As Infragistics.Win.AppearanceBase
public Infragistics.Win.AppearanceBase GroupByColumnAppearance {get; set;}
Example
Following code sets GroupByColumnsHidden to true to make the group-by columns visible and sets up the appearance for those columns.

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

  Private Sub Button36_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button36.Click

      ' Group-by columns are the columns with which the rows are grouped by.
      ' GroupByColumnAppearance applies to cells 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
      ' GroupByColumnAppearance can not be demonstrated since the group-by columns would
      ' be hidden.
      Me.UltraGrid1.DisplayLayout.Override.GroupByColumnsHidden = DefaultableBoolean.False

      ' Set the GroupByColumnAppearance on the layout's override. This applies to group-by
      ' columns in all bands.
      Me.UltraGrid1.DisplayLayout.Override.GroupByColumnAppearance.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.GroupByColumnAppearance.BackColor = Color.Blue

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

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

	// Group-by columns are the columns with which the rows are grouped by.
	// GroupByColumnAppearance applies to cells 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
	// GroupByColumnAppearance can not be demonstrated since the group-by columns would
	// be hidden.
	this.ultraGrid1.DisplayLayout.Override.GroupByColumnsHidden = DefaultableBoolean.False;

	// Set the GroupByColumnAppearance on the layout's override. This applies to group-by
	// columns in all bands.
	this.ultraGrid1.DisplayLayout.Override.GroupByColumnAppearance.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.GroupByColumnAppearance.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