Change text color in DataGridVIewComboBoxCell
I've been trying for awhile to find out how to change the color of the text in the combo box cell. So far all I've managed to do with Style.BackColor and ForeColor is change the color of the background and text respectively in the drop down box. I want to change the text color in the thing with the down arrow that you click on to make the drop down box, whatever its called.
开发者_运维百科Any ideas?
Thanks guys!
Isaac
I guess it has to do with windows 7 combo box styles. You have to set the style of the combo box to flat for the forecolor to change the text color. But it doesn't look like a comobo box anymore if you do this. The only solution is to use some of the drawing libraries to draw your own text over the box.
精彩评论