***Updated with simple standalone project attachment (ViewCellFormatting.zip)
Problem Statement:
After initial load of RadGridView with ViewCellFormatting, the appearance looks desaturated/washed out (as shown in Figure 1), until I manually mouseover the rows (as shown in Figure 2 & Figure 3).
Formatting Cells:
private void dgvMap_ViewCellFormatting(object sender, Telerik.WinControls.UI.CellFormattingEventArgs e)
{
if (e.CellElement is GridCellElement && e.CellElement.Text.Trim().Length != 0)
{
Color c = Color.Black;
e.CellElement.ForeColor = Color.Black;
e.CellElement.BackColor = c;
e.CellElement.DrawFill = true;
}
}
Figure 1 (Initial Load):
Figure 2 (Manual Mouse Roll Over - partial):
Figure 3 (Manual Mouse Roll Over - Full):