Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
' Set the appearance for regular cells
Dim cellAppearance As Infragistics.Win.AppearanceBase = Me.ultraGrid1.DisplayLayout.Override.CellAppearance
cellAppearance.BackColor = Color.LightCyan
cellAppearance.BorderColor = Color.DarkCyan
' Set the appearance for cells that are being edited
Dim editAppearance As Infragistics.Win.AppearanceBase = Me.UltraGrid1.DisplayLayout.Override.EditCellAppearance
editAppearance.BackColor = Color.LightGray
editAppearance.BorderColor = Color.DarkGray
' Set the existing UltraGridCellProxy to resolve any appearances from the grid
Me.ugcpColumn0.UseGridAppearances = True
' Set the border color of the proxy. Note that this setting will override whatever
' appearances are provided by the grid.
Me.ugcpColumn0.Appearance.BorderColor = Color.Red
End Sub