Change the Textbox foreground color in wpf.

Total Post:30

Points:210
WPF 
WPF
 3444  View(s)
Ratings:
Rate this:
Hi mindstick!

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

thanks in advance

  1. Post:105

    Points:735
    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