Change the font color in the textbox in C#
To change the text color of a TextBox in C# you simply change the propertyForeColor
to any color needed using class Color
. Example
MyTextBox.ForeColor = Color.Blue;
ForeColor
to any color needed using class Color
. MyTextBox.ForeColor = Color.Blue;
In this page (written and validated by A. Gawali) you learned about Change the font color in the textbox in C# . What's Next? If you are interested in completing C# tutorial, we encourage you simply to start here: C# Tutorial.
Share On: |