Change the Textbox foreground color in wpf.

Total Post:30

Points:210

WPF 
WPF
 3817  View(s)
Ratings:
Rate this:
Hi mindstick!

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

thanks in advance

  1. Re: Change the Textbox foreground color in wpf.

    Solution!

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

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

Answer

Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.