Home > DeveloperSection > Forums > Change the Textbox foreground color in wpf.
Ida B Wells
Ida B Wells

Total Post:30

Points:210
Posted on    July-18-2013 2:08 AM

 WPF WPF 
Ratings:


 1 Reply(s)
 2368  View(s)
Rate this:
Hi mindstick!

How can I chanded the textbox foreground color in wpf winforms?

thanks in advance



shreesh chandra shukla
shreesh chandra shukla

Total Post:105

Points:735
Posted on    July-18-2013 2:44 AM

Solution!

You can try this code for change the foreground color of a textbox in wpf: -

txtBox.Foreground= new SolidColorBrush(Colors.Yellow);


Don't want to miss updates? Please click the below button!

Follow MindStick