You can easily change the colors of forecolor and backcolor selcted cells by assigning the values of SelectedBackColor and SelectedForeColor to the DefaultCellStyle grid.
If you need to do another style, you need to handle the SelectionChanged event
Edit: (Another sample code had errors, setting for several selected cells [as in full view]]
using System.Drawing.Font; private void dataGridView_SelectionChanged(object sender, EventArgs e) { foreach(DataGridViewCell cell in ((DataGridView)sender).SelectedCells) { cell.Style = new DataGridViewCellStyle() { BackColor = Color.White, Font = new Font("Tahoma", 8F), ForeColor = SystemColors.WindowText, SelectionBackColor = Color.Red, SelectionForeColor = SystemColors.HighlightText }; } }
source share