title: WPF/C# Combobox Only Changes Selection When A Click is Detected Outside of Text Area
body: <p>So I have several comboboxes in my WPF application that don't change the selection when a user clicks on the text of a combobox item.  In order to select a particular item you have to click to the right or left of the text.  I have another combobox that selects just fine when the text is clicked.  The only difference between the two is databinding.  The comboboxes that don't select when the text is clicked are databound to an ObservableCollection of one type or another. The combobox that works has manually inserted, static values.</p>
  
  <p>I've searched the issue extensively and I can't seem to find anyone else who has had this issue or anything remotely similar.  I'm not setting any weird properties.</p>
  
  <p>Here is the code for one of the problematic comboboxes:</p>
  
  <pre><code>&lt;ComboBox HorizontalAlignment="Left" Margin="40,160,0,0" VerticalAlignment="Top" Width="132" ItemsSource="{Binding Path=Systems}" SelectedItem="{Binding Path=System}" SelectedIndex="0"&gt;
       &lt;ComboBox.ItemTemplate&gt;
           &lt;DataTemplate&gt;
               &lt;ComboBoxItem Content="{Binding Path=Name}"/&gt;
           &lt;/DataTemplate&gt;
       &lt;/ComboBox.ItemTemplate&gt;
   &lt;/ComboBox&gt;
  </code></pre>
  
  <p>Here is a video of the behavior:</p>
  
  <p><a href="http://www.youtube.com/watch?v=D0r1N1ghw-k" rel="nofollow">http://www.youtube.com/watch?v=D0r1N1ghw-k</a></p>