开发者

Default Cell Format Changing Automatically on Datagrid [duplicate]

This question already has answers here: WinForms DataGridView font size (11 answers) Closed 8 years ago.

I have a datagrid that I am trying to format with a specific font. It is currently set to Arial 8 on the ColumnHeadersDefaultCellStyle, DefaultCellStyle, RowHeadersDefaultCellStyle, RowsDefaultCellStyle.

I am trying to change the font to Verdana 8. But everytime I try to make this change a开发者_StackOverflownd rebuild my application it reverts back to Arial 8.

Can anyone offer any suggestions?

Thanks


I don't know why it is not keeping the font value in the Properties Window but I fixed it but using the code I found here on stackoverflow

WinForms DataGridView font size

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜