why the background-color remains the same although another line was selected.
this only applies if foreColor is changed.
if (Convert.ToDateTime(cell.Value.ToString()) != Convert.ToDateTime(e.Row.Cells[ColumnTitle.GridOperation.Liefertermin].Value.ToString())) {
cell.NumberOfColors = 1;
cell.DrawFill = true;
cell.ForeColor = ColorDeltaLieferterminAbteilungstermin.FColor;
cell.Font = new Font(DefaultFont, FontStyle.Bold);
} else {
cell.Image = null;
cell.DrawFill = false;
cell.ResetValue(LightVisualElement.DrawFillProperty, ValueResetFlags.Local);
cell.ResetValue(LightVisualElement.ForeColorProperty, ValueResetFlags.Local);
cell.ResetValue(LightVisualElement.NumberOfColorsProperty, ValueResetFlags.Local);
cell.ResetValue(LightVisualElement.BackColorProperty, ValueResetFlags.Local);
}
thanks andre