Change font family and size for winforms application

The default font family and size for Winform applications are too small (and look so obsolete IMHO).

Is there any easy way to change them for the whole application? I would prefer not to set them based on control or form - this is just one time, if possible.

+6
source share
3 answers

The short answer is no. But you can get around this.

Make yourself a BaseForm that is empty, and set it in the font you want. Then you need to do any other form to inherit your base one.

-2
source
WindowsFormsApplication1.Properties.Settings.Default.UserFont = new Font("Arial", 24, FontStyle.Bold); 
+12
source

You can set the Font property of forms in your application, and this will change all child controls that have the same font.

+6
source

All Articles