title: ComboBox SelectedItem throws exception in Windows 10
body: <p>following code works fine under Windows 8.1
  and I recently upgraded my OS to Windows 10 and it throws an exception.</p>
  
  <p>Here is a screenshot of the exception
  <a href="https://i.stack.imgur.com/futxn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/futxn.png" alt="enter image description here"></a></p>
  
  <p>This is the XAML code:</p>
  
  <pre><code>  &lt;ComboBox Grid.Row="3" HorizontalContentAlignment="Left" HorizontalAlignment="Left"
                        TabIndex="2" VerticalAlignment="Center"
                        ItemsSource="{Binding DateFormats}"
                        SelectedItem="{Binding DateFormatSelected, Mode=TwoWay}"&gt;
                  &lt;ComboBox.ItemTemplate&gt;
                      &lt;DataTemplate&gt;
                          &lt;StackPanel Orientation="Horizontal"&gt;
                              &lt;TextBlock Text="{Binding Value}" /&gt;
                          &lt;/StackPanel&gt;
                      &lt;/DataTemplate&gt;
                  &lt;/ComboBox.ItemTemplate&gt;
              &lt;/ComboBox&gt;
  </code></pre>
  
  <p>When I removed the part "SelectedItem" it works but I need the SelectedItem
  to be displayed.
  Please help.</p>
  
  <p>Here the event viewer application error details. It doesn't provide much info either</p>
  
  <blockquote>
    <p>Faulting application name: BoardPACWinApp.exe, version: 0.0.0.1, time stamp: 0x55bdb705
    Faulting module name: Windows.UI.Xaml.dll, version: 10.0.10240.16397, time stamp: 0x55af0da4
    Exception code: 0xc000027b
    Fault offset: 0x00722f90
    Faulting process id: 0x1e48
    Faulting application start time: 0x01d0cd2970f53bb1
    Faulting application path: D:\Projects\BoardPACWinApp\BoardPACWinApp\bin\x86\Debug\AppX\BoardPACWinApp.exe
    Faulting module path: C:\Windows\System32\Windows.UI.Xaml.dll
    Report Id: 38e21b5c-cf75-4849-81df-01bb412c291a
    Faulting package full name: IronOneTechnologiesPvtLtd.BoardPACWinDemo_3.14.35.2_x86__na7z394ep8t7e
    Faulting package-relative application ID: App</p>
  </blockquote>