文章分類/Infragistics
設置 CellAppearance.BackColor 以更改特定列的背景顏色。
private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e) { // Age欄變色 e.Layout.Bands[0].Columns["Age"].CellAppearance.BackColor = Color.Orange; }
參考文件
BackColor 屬性 (AppearanceData)
https://jp.infragistics.com/help/winforms/infragistics.win~infragistics.win.appearancedata~backcolor