title: Bind to parent datacontext (out of itemsource)
body: <p>In my Windows Phone 8 app I have list of items. I have defined ItemTemplate for list items.</p>
  
  <p>I want to display in each of these items one value from view model, not from the list item itself. How should I set up the binding from list item to viewmodel.</p>
  
  <p>My data template is like this:</p>
  
  <pre><code>&lt;DataTemplate x:Key="template"&gt;
      &lt;StackPanel&gt;
          &lt;TextBlock Text="{Binding Name}"/&gt; &lt;!-- From list item --&gt;
          &lt;TextBlock Text="{Binding MyViewModel.Country ?? }"/&gt; &lt;!-- From view model --&gt;
      &lt;/StackPanel&gt;  
  &lt;/DataTemplate&gt;
  </code></pre>
  
  <p>So how to bind Country property to view model, not list item (in item source).</p>