title: WPF DatePicker to Display only available Dates
body: <p>I have a DatePicker so the user can select dates.</p>
  
  <p>I want that the user to select only the available Date.
  and the availabe dates are stored in a <code>List</code></p>
  
  <p>So far I have this:</p>
  
  <pre><code>&lt;DatePicker x:Name="DatePicker"
    SelectedDate="{Binding SearchEngineCompassLogView.DateSearch,
        Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
    DataContext="{StaticResource CompassLogView}"&gt;
  &lt;/DatePicker&gt;
  </code></pre>