Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
410
Reset color of row
posted
Hi

How can I reset the color of a row to the default value?

In my case the user can mark some rows with a color. What value should I set
to row.Appearance.BackColor when the user unmarks the row?

I have set grid.DisplayLayout.Override.RowAppearance.BackColor =
Color.White; and
grid.DisplayLayout.Override.RowAlternateAppearance.BackColor =
Color.WhiteSmoke;

But after setting the row.Appearance.BackColor = Color.FromArgb(0, 0, 0, 0);
all unmarked rows have the WhiteSmoke color.

Thanks a lot
Michael