title: Change color of an entire column in a ListView
body: <p>I have three columns in a ListView, I'm wanting to change every value in the third column to a green forecolor.</p>
  
  <p>Username, Email, Status</p>
  
  <p>Those are my three columns, all columns are also named as seen.</p>
  
  <p>I've tried something like this but failed bad, since it just adds it in the listview instead of changing the color of the third column value when it's added to the listView.</p>
  
  <pre><code>        var Status = new ListViewItem("Status");
          Status.SubItems[0].ForeColor = Color.FromArgb(-16711936);
          Status.UseItemStyleForSubItems = false;
  
          Pless_ListView.Items.Add(Status);
  </code></pre>
  
  <p>I've also tried something as simple as this, still no luck.</p>
  
  <pre><code>Pless_ListView.Items[2].ForeColor = Color.Green;
  </code></pre>
  
  <p>I've also tried editing it where it adds the Status value to the ListView like following.</p>
  
  <pre><code>account.SubItems.Add(Status).ForeColor = Color.Green;
  </code></pre>
  
  <p>Still no luck with this either.</p>
  
  <p>I've also tried to search and had no luck on where to find an answer for this.</p>
  
  <p>EDIT:</p>
  
  <p>Here is my adding to ListView Code.</p>
  
  <pre><code>        void ColorLvColumn(ListView lv, int columnIndex, Color color, bool foreground)
      {
          foreach (ListViewItem lvi in lv.Items)
          {
              lvi.UseItemStyleForSubItems = false;  // allow individual styles for subitems!
              if (columnIndex &lt; lvi.SubItems.Count)
              {
                  if (foreground) lvi.SubItems[columnIndex].ForeColor = color;
                  //else lvi.SubItems[columnIndex].BackColor = color;
              }
          }
      }
  
      private void addAccountToPlessLV(String Username, String Password, PlessHTTP captured)
      {
          if (InvokeRequired)
          {
              Invoke(new MethodInvoker(delegate
              {
                  ColorLvColumn(Pless_ListView, 2, Color.Green, true);
                  ListViewItem account = new ListViewItem { Text = Username };
                  account.SubItems.Add(Email);
                  account.SubItems.Add(captured.Status).BackColor = Color.Green;
                  Pless_ListView.Items.Add(account);
              }));
          }
          else
          {
              ColorLvColumn(Pless_ListView, 2, Color.Green, true);
              ListViewItem account = new ListViewItem { Text = Username };
              account.SubItems.Add(Email);
              account.SubItems.Add(captured.Status)
              Pless_ListView.Items.Add(account);
          }
      }
  </code></pre>