change the datagrid row text color

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi there!

I need to change the datagrid row text color, but I don't know how can I do
it?

Anithing are wellcome!

Marcus Vinícius
 
On your Datagrid, you need to change the ForeColor property of the ItemStyle
property. For example if your DataGrid is named dg:

dg.ItemStyle.ForeColor = Color.Black;

--
Ben Lucas
Lead Developer
Solien Technology, Inc.
www.solien.com

"Marcus Vinícius M. Montezano"
 
Back
Top