How do I set the font of a TextBox from a string in the code behind?
TextBox
string
// example txtEditor.FontFamily = "Consolas";
Use txtEditor.Font.Name = "Consolas";