Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Style.ForeColor is not working properly on Windows 7

$
0
0

My code is:

grdListofItems.Rows[intRow].Cells[columnName].Style.ForeColor=Color.Green;

It works fine in Windows Classic Mode and the DropDownList font is in green.
But when it runs in Windows 7, the font color is back to black.


Viewing all articles
Browse latest Browse all 2535

Trending Articles