Quantcast
Channel: Disable "first column header selected" in a datagridview - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by JohnG for Disable "first column header selected" in a datagridview

Have you considered simply changing the grid's headers SelectionBackColor to the default “Control” color… something like…dataGridView1.ColumnHeadersDefaultCellStyle.SelectionBackColor =...

View Article


Image may be NSFW.
Clik here to view.

Disable "first column header selected" in a datagridview

How to not having the header of the first column selected in a datagridview considering that the SelectionMode must be set to FullRowSelected .I tried EnableHeadersVisualStyles to false but it didn't...

View Article
Browsing all 2 articles
Browse latest View live