How do I set the font of a TextBox from a string in the code behind?
TextBox
string
// example txtEditor.FontFamily = "Consolas";
Use the following syntax:
lblCounting.Font = new Font("Times New Roman", 50);
Where lblCounting is just any label.
lblCounting