Changing column header color on a DataGrid

G

Guest

Hi,

Has anyone figured out how to modify the color of a specific column header
on a windows forms datagrid? I know you can set the HeaderForeColor property
on the datagrid which affects all the column headers, but that is not what I
want. I want to be able to choose a column header and change its color.

thanks,
 
T

TT \(Tom Tempelaere\)

Hi Nielson,

nkwong said:
Hi,

Has anyone figured out how to modify the color of a specific column header
on a windows forms datagrid? I know you can set the HeaderForeColor
property
on the datagrid which affects all the column headers, but that is not what
I
want. I want to be able to choose a column header and change its color.

thanks,

This FAQ might help out:

http://msdn.microsoft.com/smartclient/community/wffaq/ctrlsp.aspx

A lot of useful questions and answers, helped me out several times already.
Great FAQ.

Kind regards,
Tom T.
 

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

Top