title: Show details in TreeView
body: <p>Is it possible to show (custom) details in a WPF TreeView?</p>
  
  <p>I want to display all services of my computer and have Description, Status, etc. right next to it and be able to order it when expanded. Is it possible to achieve that?</p>
  
  <p>I'm creating the tree programmatically, this is what I have so far:</p>
  
  <pre><code>    public void LoadServices(object sender, RoutedEventArgs e)
      {
          TreeView.Items.Clear();
          List&lt;string&gt; computers = new List&lt;string&gt; { Environment.MachineName, Environment.MachineName };
          foreach (string computer in computers)
          {
              TreeViewItem CurrComputer = new TreeViewItem { Header = computer };
              TreeView.Items.Add(CurrComputer);
              Services = ServiceController.GetServices();
  
              foreach (ServiceController tempService in Services)
              {
                  TreeViewItem newService = new TreeViewItem
                  {
                      Header = tempService.DisplayName
                  };
                  CurrComputer.Items.Add(newService);
              }
          }
      }
  </code></pre>
  
  <p>/edit: One solution I can think of is placing a list view right next to it, and map it from the treeview to the list view. But thats not very smooth and also means if I order by something, the treeview will not be ordered.</p>