Default Cell Format Changing Automatically on Datagrid [duplicate]
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
精彩评论