I have Text box controls and DataGridView control in WinForms form.
DataGridview contains custom ComboBox columns and standard TextBox columns.
Edit mode is EditOnEnter.
When focus is moved out of DataGridView, its current cell is displayed as
selected state (blue background).
How to remove this highlight so that selected cell is not highlighted at all
(or highlighted only when grid is active control).
Andrus.
RobinS - 27 Mar 2008 07:26 GMT
On the DefaultCellStyle for the grid, set the SelectionBackColor to the same
color as the BackColor for the cell.
RobinS.
>I have Text box controls and DataGridView control in WinForms form.
>
[quoted text clipped - 8 lines]
>
> Andrus.