title: Select programmatically a row of a Listview
body: <p>I don't get it to work to select a row of a listview at the beginning of my program.</p>
  
  <pre><code>        if (listView1.Items.Count &gt; 0)
          {
              listView1.Items[0].Selected = true;
              listView1.Items[0].Focused = true;
          }
  </code></pre>
  
  <p>After running this snippet the first item is selected and focused.</p>
  
  <pre><code>listView1.Items[0].Selected
  true 
  listView1.Items[0].Focused 
  true
  </code></pre>
  
  <p>after clicking manually an item in the listview I can walk thru this list with</p>
  
  <pre><code>listView1.Items[newPosition].Selected = true;
  </code></pre>
  
  <p>regards</p>