Version

ActiveAppearance Property

Determines the formatting attributes that will be applied to the cell when it is the ActiveCell, or its row is the ActiveRow.
Syntax
'Declaration
 
Public Property ActiveAppearance As Infragistics.Win.AppearanceBase
public Infragistics.Win.AppearanceBase ActiveAppearance {get; set;}
Remarks

Note: To set this appearance on the grid or band level, use the Override's UltraGridOverride.ActiveCellAppearance property.

Example
Demonstrates how to set the BackColor for all cells in the "Summary" column for when the cell is active.

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;
}
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