title: How to change font color from C# in WPF
body: <p>I have created a simple Calendar application and I would like to change the color of names of the days that are displayed. I created a simple condition:</p>
  
  <pre><code>if (nameDay.Text.Equals("Sunday"))
  {
      daytxt.Foreground = Brushes.Red;
  }
  </code></pre>
  
  <p>But in this case the color is changing permanently. When the name of day changes to "Monday" then color of the text is still red but it should be black. How can I fix my issue?</p>