title: c# WPF GridView Columns Showing Empty Items
body: <p>I am trying to make a WPF program that will go through a list of items and put each of those listed items into a list view.</p>
  
  <p>However when I add the items to the list view the columns just show up empty (but highlight when I mouse over the list view so the items are being added)</p>
  
  <p>I was just wondering why the values are not showing up in the columns.
  Also if it helps I know that "SetData" has values in it because I did a step-into and watched the values be added.</p>
  
  <p><strong>XAML</strong></p>
  
  <pre><code>&lt;ScrollViewer Grid.Column="1" Grid.Row="1" Grid.ColumnSpan="4"&gt;
          &lt;ListView x:Name="LIV_SetList"&gt;
              &lt;ListView.View&gt;
                  &lt;GridView&gt;
                      &lt;!--Each column will display a specific property of the set, its name, code and total number of cards--&gt;
                      &lt;GridViewColumn Header="Set Name" DisplayMemberBinding="{Binding SetName}"/&gt;
                      &lt;GridViewColumn Header="Set Code" DisplayMemberBinding="{Binding SetCode}"/&gt;
                      &lt;GridViewColumn Header="Number Of Cards" DisplayMemberBinding="{Binding SetCount}"/&gt;
                  &lt;/GridView&gt;
              &lt;/ListView.View&gt;
  
          &lt;/ListView&gt;
      &lt;/ScrollViewer&gt;
  </code></pre>
  
  <p><strong>.cs</strong></p>
  
  <pre><code> // Shove all the data just gathered into a Set Overview, and put that set overview into a list item which is then added to the listview 
                      Classes.SetOverview SetData = new Classes.SetOverview { SetName = SetReader["name"].ToString(), SetCode = TempCode, SetCount = SetSize };
                      LIV_SetList.Items.Add(SetData);
  </code></pre>
  
  <p><strong>SetOverview Class</strong></p>
  
  <pre><code>public class SetOverview
      {
          //This Is Used On The Main Window To Display Information Regarding A Given Sets Name Code And Number Of Cards
          public string SetName;
          public string SetCode;
          public int SetCount; 
      }
  </code></pre>