title: Mysterious red border appears around ComboBox
body: <p>I have a WPF app - an XBAP - with a ComboBox on the main page.  When I select an item in the ComboBox, an event handler rebuilds a collection which is the data source for a listbox.  Seems like pretty simple stuff, all stuff I've done in WPF before.</p>
  
  <p>This is what my dropdown looks like after selecting an item from the list:</p>
  
  <p><img src="https://i.stack.imgur.com/4LAQI.png" alt="WTF?"></p>
  
  <p>Where on earth did the red border come from? I am building the form from scratch, there is no styling or anything on it right now. The text "red" is not even mentioned anywhere in the project.  It will not go away once it appears, and it shows up over anything that I place on top of the control.</p>
  
  <p>Here's the markup:</p>
  
  <pre><code>&lt;ComboBox.ItemTemplate&gt;
      &lt;DataTemplate&gt;
          &lt;TextBlock Text="{Binding Converter={StaticResource ResourceKey=DeviceInfoNameConverter}}"&gt;&lt;/TextBlock&gt;
      &lt;/DataTemplate&gt;
  &lt;/ComboBox.ItemTemplate&gt;
  </code></pre>
  
  <p>Some more details:</p>
  
  <ul>
  <li>This is an XBAP application running in IE8</li>
  <li>Other dropdown controls on the same page are not doing this</li>
  <li>The border disappears when I attempt to examine the control tree with Snoop</li>
  <li>The converter is not the source of the problem, I've tried binding directly to a property on the underlying object and the box still appears.</li>
  </ul>
  
  <p>My only guess so far from searching is that there is some sort of default error template that is being applied to the control. I'm working with WIA, and there are several COM exceptions that appear in the VS output window, apparently related to the databinding for the ListView.  The data source to the control is a WIA.DeviceInfo object, the converter is just getting the name property for the dropdown text.</p>