public Color GetCellColor(MyGridCell cell) { Color c = Color.Empty; if (colors.TryGetValue(cell, out c)) { return(c); } return(Color.Empty); }
public void SetCellColor(MyGridCell cell, Color value) { colors[cell] = value; _View.RefreshRowCell(cell.RowHandle, cell.Column); }