title: DatePicker day colors WPF 4
body: <p>I have the following style for the text block in the dictionary</p>
  
  <pre><code>&lt;Style TargetType="{x:Type TextBlock}"&gt;
      &lt;Setter Property="HorizontalAlignment" Value="Left" /&gt;
      &lt;Setter Property="VerticalAlignment" Value="Center" /&gt;
      &lt;Setter Property="Margin" Value="5,0,0,0 "/&gt;
      &lt;Setter Property="Foreground" Value="White" /&gt;
  &lt;/Style&gt;
  </code></pre>
  
  <p>after setting this in the resource dictionary, all the text block i have used in my project have foreground color to white which I have set, now the problem is that the datepicker control when open only shows the selected date, as I have set the foreground color of white for the text block in the above style the date picker control dates are not showing. Please help me as soon as possible as I am stuck in this problem :(</p>