Alternate Row Style in Datagridview

0
0

What is the best way to set alternate row style of Datagridview control in WiseJ window form, in Visual studio desktop application this can be done quite easily by changing the property but I can’t find the same property in Wisej for Datagridview?

  • You must to post comments
0
0

Thanks Frank, I think code option will work best for me.

  • You must to post comments
0
0

Hi Shahbaz,

this can be done either in the Theme or by a Theme Mixin or by Code.
Depending on what you want to do. If you just want to change the colors,
you can add this to your code prior to the creation of the DataGridView:

Application.Theme.Colors["table-row-background-even"] = Color.White;
Application.Theme.Colors["table-row-background-odd"] = Color.Yellow;

Best regards
Frank

  • Daniel Naeh
    Does anyone know how this alternate color could be implemented in a ListView ? Thanks
  • Daniel Naeh
    the answer to my question is ListView mixin file
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.