I am trying to allow the user to change the color of the datagrid displayed in my app.
for this I use user settings and colordialog boxes.
problem is, when I try to update the color, it isnt displayed, and I either have to close/reopen the app to see the changes, or load a completly different DGV (they are in a tabcontrol).
here is the code I use at the update:
AlternatingRowsDefaultCellStyle.BackColor = Properties.Settings.Default.CellBackColor1;
am I missing something?
I tried to refresh the DGV, but it doesnt change a thing.