title: X:Bind binding dropdownlist to bound list
body: <p>I'm stuck at figuring out how to bind a dropdown list to my bound listbox.
  I would like to show a list containing all the passengers and their seatnumber shown in a dropdownlist. The admin should be able to change the passenger's seatnumber via the dropdown list.</p>
  
  <p>I have tried looking into nested binding but I couldn't find anything that mentions my issue.</p>
  
  <p>XAML</p>
  
  <pre><code>&lt;Page
      x:Class="FlightApplication.Passengers"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:local="using:FlightApplication"
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
      xmlns:fdata="using:FlightApplication.Models"
      mc:Ignorable="d"
      Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"&gt;
  
      &lt;ListBox x:Name="ListBox1" Margin="5" Width="450" Height="200" HorizontalAlignment="Left" ItemsSource="{x:Bind PassengersList}" FontFamily="Segoe UI"&gt;
          &lt;ListBox.ItemTemplate&gt;
              &lt;DataTemplate x:Name="PassengerLineTemplate" x:DataType="fdata:Passenger"&gt;
                  &lt;StackPanel Orientation="Vertical" Margin="2"&gt;
                      &lt;TextBlock&gt;
                          &lt;Run Text="{x:Bind LastName}"/&gt;
                          &lt;Run Text=" "/&gt;
                          &lt;Run Text="{x:Bind FirstName}"/&gt;
                      &lt;/TextBlock&gt;
                      &lt;TextBlock&gt;
                          &lt;Run Text="{x:Bind Class}"/&gt;
                          &lt;Run Text=" - "/&gt;
                          &lt;Run Text="{x:Bind SeatNr}"/&gt;
                      &lt;/TextBlock&gt;
                  &lt;/StackPanel&gt;
              &lt;/DataTemplate&gt;
          &lt;/ListBox.ItemTemplate&gt;
          &lt;/ListBox&gt;
  &lt;/Page&gt;
  </code></pre>
  
  <pre class="lang-cs prettyprint-override"><code>namespace FlightApplication
  {
      public sealed partial class Passengers : Page
      {
          public ObservableCollection&lt;Passenger&gt; PassengersList = new ObservableCollection&lt;Passenger&gt;();
          public Passengers()
          {
              this.InitializeComponent();
              //ListBox1.DataContext = PassengersList; Do i use this?
  
  
          }
      }
  }
  </code></pre>