Live Chat Icon For mobile
Live Chat Icon

How do I set the font for a control

Platform: WinForms| Category: Fonts

Use the Font property for the control along with the Font class in the System.Drawing class.

	button1.Font = new Font ('Courier', 10, FontStyle.Bold);

Share with

Share on twitter
Share on facebook
Share on linkedin

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.