title: Get GridViewColumn Header value from ListView?
body: <p>I have this XAML code</p>
  
  <pre><code>&lt;ListView Name="_lvContacts" ItemsSource="{Binding AccountPhonesList}"
                  &lt;ListView.View&gt;
                      &lt;GridView&gt;
                          &lt;GridViewColumn Header="{Binding Path=ColumnHeader1}" DisplayMemberBinding="{Binding Path=Home}" Width="70" /&gt;
                          &lt;GridViewColumn Header="{Binding Path=ColumnHeader2}" DisplayMemberBinding="{Binding Path=Office}" Width="70" /&gt;
                          &lt;GridViewColumn Header="{Binding Path=ColumnHeader3}" DisplayMemberBinding="{Binding Path=Mobile}" Width="70" /&gt;
                          &lt;GridViewColumn Header="{Binding Path=ColumnHeader4}" DisplayMemberBinding="{Binding Path=Other}" Width="70" /&gt;
                          &lt;GridViewColumn Header="{Binding Path=ColumnHeader5}" DisplayMemberBinding="{Binding Path=Email}" Width="70" /&gt;
                      &lt;/GridView&gt;
                  &lt;/ListView.View&gt;
              &lt;/ListView&gt;
  </code></pre>
  
  <p>And this is code behind</p>
  
  <pre><code>            for (int i = 0; i &lt; _lvContacts.Items.Count; i++)
              {
                  string header = _lvContacts.Items[i].ToString();
                  MyFunction(header);
              }
  </code></pre>
  
  <p>How can I get the GridViewColumn Header from ListView?I was trying to get GridView from ItemSources but this is already used by collection!I dont know what else I can say about this. </p>
  
  <p>I hope this is understandable.</p>