Thanks for reply.
The header style is not assigning to cell of the datagridview.
yes, i tried to set individual properties like forecolor, backcolor,but went in vein.
datagridview1.rows[0].cells[0].style.foreground = color.gray //works
datagridview1.rows[0].cells[0].style.foreground = datagridview1.columns[0].headercell.style.foreground // doesnot work
Is there any solution.
|