title: WPF ComboBox get highlighted item
body: <p>I'm trying to get the value of the highlighted item of the dropdown list in a <code>ComboBox</code> while the dropdown list is still open.</p>
  
  <p>This is because I want to show a different <code>ToolTip</code> for all the element in the dropdown list based on the highlighted item.</p>
  
  <p>I have found some information here:
  <a href="http://social.msdn.microsoft.com/Forums/vstudio/en-US/822f85e7-524a-4af2-b09a-c88c94971ac0/identifying-the-highlighted-item-in-a-combobox" rel="nofollow">http://social.msdn.microsoft.com/Forums/vstudio/en-US/822f85e7-524a-4af2-b09a-c88c94971ac0/identifying-the-highlighted-item-in-a-combobox</a>
  but seems to be difficult and with a lot of code behind...</p>
  
  <p>I have also try to use the <code>IsHighlighted</code> property of <code>ComboBoxItem</code> on <code>SelectionChanged</code>... But I give the item selected and not the highlighted one.</p>
  
  <p>I also try to cycling the elements in the ComboBox in the get of property that I bind (with Databinding) to the <code>ToolTip</code> property of <code>ComboBoxItems</code>, using a function like:</p>
  
  <pre><code>foreach (ComboBoxItem comboBoxItem in comboBox.Items)
  {
      if (comboBoxItem.IsHighlighted == true)
      {
          //Do something          
          break;
      }
  }
  </code></pre>
  
  <p>But I probably do something wrong... Because <code>comboBoxItem.IsHighlighted</code> it is always false...</p>