Just replace the line
dataListCell.Style = new DataGridViewCellStyle { Font = lineFont };
with
dataListCell.Style.Font = lineFont;