title: How to Bind Data to Multi-Column ListBox WP8.1
body: <p>I'm new to the whole data binding thing with XAML for WP8.1. I've been searching on the internet and I can't seem to find a straight-forward answer to my problem.</p>
  
  <p>I have a ListBox control on my page with 3 columns. What I need to do is fill each column with it's respective data.</p>
  
  <p>I have a class that defines a "CompleteStation" which is made up of 3 strings (StationName, Distance, and GasPrice)</p>
  
  <p>This is the XAML code for the ListBox... How am I able to pass the ListBox a CompleteStation (3 strings) and have it separate each string into the correct column?</p>
  
  <p>This is my XAML code below. In my main class, I'm just adding a CommpleteStation item to the ListBox. </p>
  
  <p>Also, do I need to reference the CompleteStation class in the XAML code? If yes, how do I do this?</p>
  
  <pre><code>&lt;ListBox Name="listBoxStations" FontSize="20" Grid.Row="1"&gt;
              &lt;ListBox.ItemTemplate&gt;
                  &lt;DataTemplate&gt;
                      &lt;Grid Width="480" Background="#e6e6e6" Margin="0,10"&gt;
                          &lt;Grid.RowDefinitions&gt;
                              &lt;RowDefinition Height="Auto"/&gt;
                          &lt;/Grid.RowDefinitions&gt;
                          &lt;Grid.ColumnDefinitions&gt;
                              &lt;ColumnDefinition Width="*"/&gt;
                              &lt;ColumnDefinition Width="*"/&gt;
                              &lt;ColumnDefinition Width="*"/&gt;
                          &lt;/Grid.ColumnDefinitions&gt;
                          &lt;TextBlock Grid.Row="0" Grid.Column="0" Text="{Binding Station}"/&gt;
                          &lt;TextBlock Grid.Row="0" Grid.Column="1" Text="{Binding Distance}"/&gt;
                          &lt;TextBlock Grid.Row="0" Grid.Column="2" Text="{Binding Price}"/&gt;
                      &lt;/Grid&gt;
                  &lt;/DataTemplate&gt;
              &lt;/ListBox.ItemTemplate&gt;
          &lt;/ListBox&gt;
  </code></pre>
  
  <p>Thanks!</p>
  
  <p>-Johan</p>