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

Related FAQs

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

Please submit your question and answer.