title: Fire ListView.SelectedIndexChanged Event Programmatically?
body: <p>How can one programmatically fire the SelectedIndexChanged event of a ListView?</p>
  
  <p>I've intended for the first item in my ListView to automatically become selected after the  user completes a certain action.  Code already exists within the SelectedIndexChanged event to highlight the selected item.  Not only does the item fail to become highlighted, but a breakpoint set within SelectedIndexChanged is never hit.  Moreover, a Debug.WriteLine fails to produce output, so I am rather certain that event has not fired.</p>
  
  <p>The following code fails to fire the event:</p>
  
  <pre><code>listView.Items[0].Selected = false;
  listView.Items[0].Selected = true;
  listView.Select();
  Application.DoEvents();
  </code></pre>
  
  <p>The extra .Select() method call was included for good measure. ;)  The deselection (.Selected = false) was included to deselect the ListViewItem in the .Items collection just in case it may have been selected by default and therefore setting it to 'true' would have no effect.  The 'Application.DoEvents()' call is yet another last ditch method.</p>
  
  <p>Shouldn't the above code cause the SelectedIndexChanged event to fire?</p>
  
  <p>I should mention that the SelectedIndexChanged event fires properly on when an item is selcted via keyboard or mouse input.</p>