title: WPF binding Data into ListBox multiple columns
body: <p>//Hi! I need to put my data into listBox with multiple columns I saw this link <a href="https://stackoverflow.com/questions/5220502/wpf-bind-list-to-multi-column-listbox">stackoverflow.com...</a> but it talks about every thing without mention the way that I can Add Items into the columns would you please just explain how to add Data Items into columns and thanks a lot.I did the following things successfully </p>
  
  <pre><code>&lt;ListView.View&gt;
       &lt;GridView&gt;
           &lt;GridView.Columns&gt;
                &lt;GridViewColumn Header="1" Width="100" DisplayMemberBinding="{Binding Path=Field1}" /&gt;
                &lt;GridViewColumn Header="2" Width="100" DisplayMemberBinding="{Binding Path=Field2}" /&gt;
                &lt;GridViewColumn Header="3" Width="100" DisplayMemberBinding="{Binding Path=Field3}" /&gt;
           &lt;/GridView.Columns&gt;
       &lt;/GridView&gt;
  &lt;/ListView.View&gt;`
  
   public sealed class MyListBoxItem
      {
          public string Field1 { get; set; }
          public string Field2 { get; set; }
          public string Field3 { get; set; }
      }
      public sealed class MyViewModel
      {
          public ObservableCollection&lt;MyListBoxItem&gt; Items { get; private set; }
          public MyViewModel()
          {
              Items = new ObservableCollection&lt;MyListBoxItem&gt;();
              Items.Add(new MyListBoxItem { Field1 = "One", Field2 = "Two", Field3 = "Three" });
          }
      }
  </code></pre>