'宣言 Public Property ActiveAppearance As Infragistics.Win.AppearanceBase
public Infragistics.Win.AppearanceBase ActiveAppearance {get; set;}
注: グリッドまたはバンド レベルでこの外観を設定するには、Override の UltraGridOverride.ActiveCellAppearance プロパティを使用します。
Private Sub UltraGrid1_InitializeRow(ByVal sender As System.Object, ByVal e As Infragistics.Win.UltraWinGrid.InitializeRowEventArgs) Handles UltraGrid1.InitializeRow Dim index As Integer = e.Row.Cells.IndexOf("Summary") If index >= 0 Then e.Row.Cells(index).ActiveAppearance.BackColor = Color.BlueViolet End If End Sub
private void ultraGrid1_InitializeRow(object sender, InitializeRowEventArgs e) { int index = e.Row.Cells.IndexOf("Summary"); if (index >= 0) e.Row.Cells[index].ActiveAppearance.BackColor = Color.BlueViolet; }