dataGridView doesn't respect font settings if new form's Font != DefaultFont
See original GitHub issue—UPD— Clarifications: https://github.com/dotnet/winforms/issues/3033#issuecomment-689333353
-
.NET Core Version: 3.1.2
-
Have you experienced this same bug with .NET Framework?: Yes, must set font of the form != DefaultFont
Problem description:
dataGridView doesn’t respect font settings in Styles (DefaultCellStyle, ColumnHeadersDefaultCellStyle...):

Expected behavior: dataGridView must respect font settings.
Windows 7 x64.
Minimal repro: WinFormsCoreTest3.zip
Issue Analytics
- State:
- Created 3 years ago
- Comments:29 (29 by maintainers)
Top Results From Across the Web
DataGridView no longer resets fonts for customized cell ...
When the ambient font changes, DataGridView no longer resets default cell style fonts to match the ambient font if the cell style font...
Read more >I want to change font style of my whole grid, not just one cell.
hi , i am using the following code for the change of the Font according to the standard Font stored in DB(which is...
Read more >WinForms DataGridView font size
Click the ellipsis on DefaultCellStyle, then it will present Cell Style Builder window which has the option to change the font size. Its...
Read more >GridView doesn't resize rows if the font size is increased in ...
I have a gridview with a memoedit. In my grid's RowCellStyle event, I have some debug code. If a number is even, make...
Read more >Editing Controls - Balsamiq for Desktop Documentation
Learn how to edit and format UI controls in Balsamiq for Desktop.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@RussKie, @kirsan31 , the https://github.com/dotnet/winforms-designer/issues/2153 is filed to address the this issue. /cc: @merriemcgaw
Shoot - I’m sorry. I must have gotten my wires crossed. I’ll reopen. I don’t know if we have time to get it into 5.0 RC2 or not, but we can investigate the runtime portion. I’ll also update the title to make it clear. Sorry for the confusion!