title: Event when combobox is selected
body: <p>My question is how to do an action when an ComboBoxItem is Selected in a ComboBox in C# (WPF) ?</p>
  
  <p>In <a href="https://stackoverflow.com/questions/22224172/wpf-selectionchanged-to-same-value">this post</a> they handle the DropDownClosed event but <strong>they don't handled the keyboard Selection</strong>.</p>
  
  <p>So I explain my case:</p>
  
  <p>The events "Selected" for the ComboBoxItems or "SelectionChanged" for the ComboBox do the action only when the user select an different ComboBoxItem, but I would like that the action be execute even if the ComboBoxItem that the user select is the same that the ComboBoxItem already selected.</p>
  
  <p>I try with "PreviewMouseLeftButtonDown", but if the user select with keyboard or just keep the mouse press and then select, it doesn't work.</p>
  
  <p>In my situation, I have to open a window when I select an Item:</p>
  
  <pre><code>private void cmiCCSelect_Selected(object sender, RoutedEventArgs e)
  {
      cCEntityWindow.ShowDialog();
  }
  </code></pre>
  
  <p>But if the user close this window and re-select the same Item, it doesn't work. I have to select an other and after re-select the same for the Event "Selected" can be execute.</p>
  
  <p>Can anybody help me?</p>