curiouswebster
asked on
C# WinForms: Need to override the default color for a DataGridView
Using C# WinForms, I need to override the default blue color for a DataGridView. The default background of a datagrid that is “highlighted” is set to a windows scheme default color.
I need to make this yellow.
Can I do this?
Thank!
I need to make this yellow.
Can I do this?
Thank!
ASKER
No, the first is for a DataGrid, not a DataGridView. The second is WPF.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Perfect!
http://msdn.microsoft.com/en-us/library/system.windows.forms.datagrid.selectionbackcolor
http://stackoverflow.com/questions/1223280/how-can-i-set-the-color-of-a-selected-row-in-datagrid