title: Select (highlight) node in TreeListView
body: <p>I am using a TreeListView (ObjectListView) and populated it with a number of items from DB:</p>
  
  <pre><code>class Data
  {
      public int ID { get; set; }
      public string Name { get; set; }
      public List&lt;Data&gt; Child;
  
      public Data(int id, string name)
      {
          ID = id;
          Name = name;
          Child = new List&lt;Data&gt;();
      }
  }
  </code></pre>
  
  <p>How can I select an object (node), scroll tree and expand parent nodes to it (if necessary)? I tried this:</p>
  
  <pre><code>var node = data.SelectMany(x =&gt; GetChildren(x)).Where(x =&gt; x.ID == 100).FirstOrDefault();
  if (node != null)
  {                   
      this.tlv.Select();
      this.tlv.SelectObject(node, true);
      &lt;???&gt;
  }
  </code></pre>
  
  <p>For the average WinForms TreeView my code is as follows:</p>
  
  <pre><code>treeView1.SelectedNode = findNodes[j];
  findNodes[j].EnsureVisible();
  WinAPI.SendMessage(treeView1.Handle, WinAPI.WM_HSCROLL, (IntPtr)WinAPI.SB_LEFT, IntPtr.Zero);
  </code></pre>