バージョン

AppearancesCollection クラス

Appearance オブジェクトのコレクションです。
シンタックス
'宣言
 
Public Class AppearancesCollection 
   Inherits Infragistics.Shared.KeyedSubObjectsCollectionBase
public class AppearancesCollection : Infragistics.Shared.KeyedSubObjectsCollectionBase 
使用例
Private Sub InitializeAppearances()

    Me.UltraGrid1.DisplayLayout.Appearances.Add("Header Appearance")
    Me.UltraGrid1.DisplayLayout.Appearances("Header Appearance").BackColor2 = Color.Yellow
    Me.UltraGrid1.DisplayLayout.Appearances("Header Appearance").BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal

    Me.UltraGrid1.DisplayLayout.Override.HeaderAppearance = Me.UltraGrid1.DisplayLayout.Appearances("Header Appearance")

End Sub
private void InitializeAppearances()
{

	this.ultraGrid1.DisplayLayout.Appearances.Add("Header Appearance");
	this.ultraGrid1.DisplayLayout.Appearances["Header Appearance"].BackColor2 = Color.Yellow;
	this.ultraGrid1.DisplayLayout.Appearances["Header Appearance"].BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal ;
		
      this.ultraGrid1.DisplayLayout.Override.HeaderAppearance = this.ultraGrid1.DisplayLayout.Appearances["Header Appearance"];
	
}
参照