background color of columns

  • Thread starter Thread starter EMW
  • Start date Start date
E

EMW

I would like to set the background color of my datagrid to a certain color.
Except for one column, that should be white.

How can I do this?
I have a datagridtablestyle and each column is a datagridtextboxcolumn.

thanks!
Eric.
 
Derive your GridColumnStyle from DataGridColumnStyle class and override
Paint() method
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top