title: WPf ListView : Save reorderd column order
body: <p>For a WPF project in need to save the width and the column order of a ListView because these are things the user can change. I guess it is no problem getting the current width but the current position seems to be a bit difficult.</p>
  
  <p>In WinForms there was something like index and displayIndex but I don't see it in WPF.
  How is it done?</p>
  
  <p>BTW : Serializing the whole control is not an option.</p>
  
  <p>Edit:</p>
  
  <p>I found some samples using the listView.columns property. But I don't have such a property in my listView</p>
  
  <p>My XAML code is like this:</p>
  
  <pre><code>&lt;ListView&gt;
      &lt;ListView.View&gt;
          &lt;GridView&gt;
              &lt;GridViewColumn&gt;
              ....
  </code></pre>