title: XAML tostring in ContentControl
body: <p>I am new to the XAML world and I'm fumbling my way through a lot of tutorials. One thing i'm stuck on is calling the .tostring on an object.</p>
  
  <p>Here is mysetup</p>
  
  <p>I have a listbox that is bound to a list of objects
  I have a contentControl bound to the same list that displays the selected item from the listbox.</p>
  
  <p>My ContentControl is as follows:</p>
  
  <pre><code> &lt;ContentControl Grid.Row="1" Margin="0,3,5,204" Name="Detail" 
    Content="{Binding Source={StaticResource listingDataView}}"
    ContentTemplate="{StaticResource myContentTemplate}" 
     HorizontalAlignment="Right" Width="231"/&gt;
  </code></pre>
  
  <p>in myContentTemplate I have:</p>
  
  <pre><code>&lt;DataTemplate x:Key="myContentTemplate"&gt;
              &lt;StackPanel&gt;
                  &lt;TextBlock Text="{Binding Path=Name}" /&gt;
                  &lt;!-- want to call .tostring here--&gt;
              &lt;/StackPanel&gt;
          &lt;/DataTemplate&gt;
  </code></pre>
  
  <p>In the template I'd like to call .tostring on the object that is currently selected but i cant figure out how to do that? </p>
  
  <p>thanks
  Steph</p>