[code]
Dictionary
void gridView1_RowCellStyle(object sender, DevExpress.XtraGrid.Views.Grid.RowCellStyleEventArgs e)
{
foreach (var item in cellColorsCahe)
{
if (item.Key.RowHandle == e.RowHandle && item.Key.Column == e.Column)
{
e.Appearance.ForeColor = item.Value.ForeColor;
e.Appearance.BackColor = item.Value.BackColor;
}
}
}
[/code]
Replies
Know the answer? Post it — somebody with the same question will find it here.