title: retrieving binded text from xaml in c#
body: <p>I have my xaml code as :</p>
  
  <pre><code>&lt;ListBox x:Name="SecondListBox" Margin="0,0,-12,0" &gt;
                      &lt;ListBox.ItemTemplate&gt;
                          &lt;DataTemplate&gt;
                              &lt;StackPanel Margin="0,0,0,17" Width="432" Height="78"&gt;
                                  &lt;toolkit:ToggleSwitch Name="toggle3" Header="{Binding name}" Height="120" HorizontalAlignment="Left" Margin="35,20,0,0"  VerticalAlignment="Center" Width="440" Content="{Binding descrip}" Checked="toggleSwitch1_Checked" Unchecked="toggleSwitch1_Unchecked" Tap="toggleSwitch1_Tap"/&gt;
                              &lt;/StackPanel&gt;
                          &lt;/DataTemplate&gt;
                      &lt;/ListBox.ItemTemplate&gt;
                  &lt;/ListBox&gt;
              &lt;/controls:PivotItem&gt;
  </code></pre>
  
  <p>Now i want to retrieve toggleswitch(toggle 3)'s header text in c# code. How can that be done?</p>