G
Guest
I have to change the font and color of negative values in my data grid. I
have it all working except that I cannot get the value to right align in the
cell. I have derived a control from the DataGridTextBoxColumn and have
override the paint method. I am able to get the value to show with the
correct font and color but it is left aligned, I cannot get it right aligned.
FYI....this is the article I read to figure the rest of this out.
http://msdn.microsoft.com/library/d...ry/en-us/dnwinforms/html/wnf_CustDataGrid.asp
have it all working except that I cannot get the value to right align in the
cell. I have derived a control from the DataGridTextBoxColumn and have
override the paint method. I am able to get the value to show with the
correct font and color but it is left aligned, I cannot get it right aligned.
FYI....this is the article I read to figure the rest of this out.
http://msdn.microsoft.com/library/d...ry/en-us/dnwinforms/html/wnf_CustDataGrid.asp