datagridview - making a cell bold

Oct 18 2008 4:21 PM
I am not sure how I can find out weather a cell is bold or not, and then change it without effecting anything else such as italics, underline etc. All I have at the moment is foreach (DataGridViewCell cell in grid.SelectedCells) { cell.Style.Font = new Font(grid.Font, FontStyle.Bold); } grid is my datagridview. I hope this is easy to understand, thanks

Answers (3)