CHANGE THE TEXTBOX FOREGROUND COLOR IN WPF.

Ida B Wells

Total Post:30

Points:210
Posted by  Ida B Wells
WPF 
WPF
 2869  View(s)
Ratings:
Rate this:
Hi mindstick!

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

thanks in advance

  1. shreesh chandra shukla

    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

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!