title: Extract Listbox's binded textblock to string wp7
body: <p>I have a listbox with multiple binded textblocks. Is there a way that I can get binding textblock data from the selected listboxitem to an other page as a string?</p>
  
  <pre><code>&lt;ListBox Margin="0,10,-12,0" ItemsSource="{Binding Items}" Width="408" x:Name="ListBox1"&gt;
                  &lt;ListBox.ItemTemplate&gt;
                      &lt;DataTemplate&gt;
                          &lt;StackPanel Orientation="Horizontal" Margin="0,0,0,17" Tap="StackPanel_Tap"&gt;
                              &lt;!--Replace rectangle with image--&gt;
                              &lt;Rectangle Height="100" Width="100" Margin="12,0,9,0"&gt;
                                  &lt;Rectangle.Fill&gt;
                                      &lt;ImageBrush ImageSource="{Binding LineImg}" x:Name="img"/&gt;
                                  &lt;/Rectangle.Fill&gt;
                              &lt;/Rectangle&gt;
                              &lt;StackPanel Width="311"&gt;
                                  &lt;TextBlock x:Name="title" Text="{Binding LineOne}" TextWrapping="Wrap" FontSize="30"/&gt;
                                  &lt;Line X1="0" Y1="0" X2="1" Y2="0" Stretch="Fill" Stroke="White" /&gt;
                                  &lt;TextBlock x:Name="time" Text="{Binding LineTwo}" Margin="0,0,12,10" Style="{StaticResource PhoneTextSubtleStyle}"/&gt;
                                  &lt;Image Height="20" Width="20" Margin="-170,-45,0,0" Source="/PostDateIcon.png"/&gt;
                                  &lt;TextBlock x:Name="date" Text="{Binding LineThree}" Margin="85,-37,12,10" Style="{StaticResource PhoneTextSubtleStyle}"/&gt;
                                  &lt;TextBlock x:Name="content" Text="{Binding LineContent}" Visibility="Collapsed"/&gt;
                              &lt;/StackPanel&gt;                            &lt;/StackPanel&gt;
                      &lt;/DataTemplate&gt;
                  &lt;/ListBox.ItemTemplate&gt;
              &lt;/ListBox&gt;
  </code></pre>
  
  <p>I used this methode to load the binding data: <a href="http://kevinashley.com/connect-windows-phone-7-apps-to-wordpress-using-json/" rel="nofollow">http://kevinashley.com/connect-windows-phone-7-apps-to-wordpress-using-json/</a></p>