バージョン

ActiveCardCaptionAppearance プロパティ

バンド内またはグリッド内のカードラベルに適用される書式化属性を決めます。
シンタックス
'宣言
 
Public Property ActiveCardCaptionAppearance As Infragistics.Win.AppearanceBase
public Infragistics.Win.AppearanceBase ActiveCardCaptionAppearance {get; set;}
使用例
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;

}
参照