title: Show selected ListView item in Content presenter
body: <p>I am trying to display an selected listview item in a ContentPresenter. </p>
  
  <p>The ListView is populated from the Player<strong>s</strong>ViewModel. The items presenting a PlayerViewModel.</p>
  
  <p>Now I want to display the selected PlayerViewModel outside the ListView in an ContentPresenter. In the design view only the Content binded type is shown. Like: <em>PlayersViewModel.CurrentPlayer</em>.</p>
  
  <p>How can I make the ContentPresenter work the same way as the ListView.ItemTemplate?</p>
  
  <p>Thanks in advance.</p>
  
  <pre><code>&lt;ListView ItemsSource="{x:Bind PlayersViewModel.Players}" SelectedIndex="{x:Bind PlayersViewModel.Index}" Grid.Row="0" Grid.Column="0" Grid.RowSpan="2"&gt;            
          &lt;ListView.ItemTemplate&gt;
              &lt;DataTemplate x:DataType="viewModels:PlayerViewModel"&gt;
                  &lt;Viewbox&gt;
                      &lt;StackPanel BorderBrush="Black" BorderThickness="1"&gt;
                          &lt;TextBlock Text="{x:Bind Name}" /&gt;
                          &lt;TextBlock Text="{x:Bind Score, Mode=TwoWay}" /&gt;
                      &lt;/StackPanel&gt;
                  &lt;/Viewbox&gt;                    
              &lt;/DataTemplate&gt;
          &lt;/ListView.ItemTemplate&gt;
      &lt;/ListView&gt;
      &lt;ContentPresenter Grid.Row="0" Grid.Column="1" Content="{x:Bind PlayersViewModel.CurrentPlayer}"&gt;
          &lt;ContentPresenter.Resources&gt;
              &lt;DataTemplate x:Key="dataTemplateCurrentPlayer"  x:DataType="viewModels:PlayerViewModel"&gt;
                  &lt;StackPanel BorderBrush="Black" BorderThickness="1"&gt;
                      &lt;TextBlock Text="{x:Bind Name}" /&gt;
                      &lt;TextBlock Text="{x:Bind Score, Mode=TwoWay}" /&gt;
                  &lt;/StackPanel&gt;
              &lt;/DataTemplate&gt;
          &lt;/ContentPresenter.Resources&gt;            
      &lt;/ContentPresenter&gt;
  </code></pre>