title: How to add subitems to a ListView?
body: <p>I'm trying to get the simplest possible example of a Listview with subitems working. But this code:</p>
  
  <pre><code>private void button1_Click(object sender, EventArgs e) {
      listView1.Groups.Add(new ListViewGroup("Kannst du mich sehen?", HorizontalAlignment.Left));
      string[] strArr = new string[4] { "uno", "dos", "twa", "quad" };
      for (int i = 0; i &lt; strArr.Length; i++)
      {
          ListViewItem lvi = new ListViewItem(strArr[i]);
          listView1.Items.Add(lvi);
          lvi.SubItems.Add("Ciao, Baby!");
          listView1.Items[i].Group = listView1.Groups[0];
      }
  }
  </code></pre>
  
  <p>...does not display the subitems (the "Ciao, Baby!"s). It shows:</p>
  
  <pre><code>Kannst du mich sehen?
  ---------------------
  uno   dos   twa   quad
  </code></pre>
  
  <p>...but I want it to be:</p>
  
  <pre><code>Kannst du mich sehen?
  ---------------------
  uno Ciao, Baby!
  dos Ciao, Baby!
  twa Ciao, Baby!
  quad    Ciao, Baby!
  </code></pre>
  
  <p>Even stranger (it seems to me), I get this:</p>
  
  <pre><code>Default
  -------
  uno dos twa quad    uno dos twa quad
  
  FIRST
  -----
  uno dos twa quad
  </code></pre>
  
  <p>...with this code:</p>
  
  <pre><code>private void button2_Click(object sender, EventArgs e) {
      string[] strArrGroups = new string[3] { "FIRST", "SECOND", "THIRD" };
      string[] strArrItems = new string[4] { "uno", "dos", "twa", "quad" };
      for (int i = 0; i &lt; strArrGroups.Length; i++)
      {
          listView1.Groups.Add(new ListViewGroup(strArrGroups[i], HorizontalAlignment.Left));
          for (int j = 0; j &lt; strArrItems.Length; j++) {
              ListViewItem lvi = new ListViewItem(strArrItems[j]);
              listView1.Items.Add(lvi);
              lvi.SubItems.Add("Hasta la Vista, Mon Cherri!");
              listView1.Items[j].Group = listView1.Groups[i];
          }
      }
  }
  </code></pre>
  
  <h2>UPDATE</h2>
  
  <p>The ListView's View property acts a little gonzo, if you ask me:</p>
  
  <p>The default "<em>LargeIcon</em>" setting acts as originally shown (and SmallIcon has the same effect).
  "<em>Detail</em>" gives me the Group header only (no items)
  "<em>List</em>" gives me the items (one on a line, as I want), but no group/header
  "<em>Tile</em>" gives me:</p>
  
  <pre><code>Kannst du mich sehen?
  ---------------------
  uno     dos
  twa     quad
  </code></pre>
  
  <p>...with button1's code and:</p>
  
  <pre><code>Default
  ---------------------
  uno     dos
  twa     quad
  uno     dos
  twa     quad
  
  FIRST
  ---------------------
  uno     dos
  twa     quad
  </code></pre>
  
  <p>...with button2's code</p>
  
  <p>Either:</p>
  
  <pre><code>1) I'm stupid
  2) ListView is very counterintuitive
  -or
  3) Nobody ever wants to use the ListView the way I'm trying to use it...if that's the case, should I be using a different control instead?
  </code></pre>
  
  <p>~~~
  Side (or bottom) question: Since I live on StackOverflow, is it possible to become a dual citizen, and are there any tax benefits in doing so?</p>