Setting up font of TextBox from code behind August 12, 2023 by Tarik txtEditor.FontFamily = new FontFamily("Consolas"); // the Media namespace