Version

ActiveCardCaptionAppearance Property

Determines the formatting attributes that will be applied to the card Label in a band or the grid.
Syntax
'Declaration
 
Public Property ActiveCardCaptionAppearance As Infragistics.Win.AppearanceBase
public Infragistics.Win.AppearanceBase ActiveCardCaptionAppearance {get; set;}
Example
Following code sets up ActiveCardCaptionAppearance on the layout's and a band's override.

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

  Private Sub Button26_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button26.Click

      ' ActiveCardCaptionAppearance appearance applies to the card caption of the active
      ' card in card-view. 

      ' Set the ActiveCardCaptionAppearance on the layout's Override so that it applies 
      ' to card caption of the active card in any band in the grid.
      Me.UltraGrid1.DisplayLayout.Override.ActiveCardCaptionAppearance.BackColor = Color.DarkBlue
      Me.UltraGrid1.DisplayLayout.Override.ActiveCardCaptionAppearance.ForeColor = Color.LightYellow

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

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

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

	// ActiveCardCaptionAppearance appearance applies to the card caption of the active
	// card in card-view. 

	// Set the ActiveCardCaptionAppearance on the layout's Override so that it applies 
	// to card caption of the active card in any band in the grid.
	this.ultraGrid1.DisplayLayout.Override.ActiveCardCaptionAppearance.BackColor = Color.DarkBlue;
	this.ultraGrid1.DisplayLayout.Override.ActiveCardCaptionAppearance.ForeColor = Color.LightYellow;

	// You can override that grid-wide setting for a particular band by setting it on the 
	// override of that band.
	this.ultraGrid1.DisplayLayout.Bands[0].Override.ActiveCardCaptionAppearance.BackColor = Color.Maroon;

}
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