title: ListBox SelectionChanged event in FlipView in Windows Store Application (Windows 8 Metro)
body: <p>I have a strange problem with a listbox which is in a flipview.</p>
  
  <pre><code>    &lt;FlipView 
          x:Name="flipView"
          ItemsSource="{Binding Source={StaticResource itemsViewSource}}" Padding="0"&gt;    
          &lt;FlipView.ItemTemplate&gt;
              &lt;DataTemplate&gt;
                      &lt;Grid&gt;
                          &lt;Grid.RowDefinitions&gt;
                              &lt;RowDefinition  Height="30"/&gt;
                              &lt;RowDefinition Height="30"/&gt;
                              &lt;RowDefinition Height="30"/&gt;
                              &lt;RowDefinition/&gt;
                          &lt;/Grid.RowDefinitions&gt;
                          &lt;TextBlock Grid.Row="0" FontSize="32" Text="{Binding Question.OrginalWord}" HorizontalAlignment="Center"&gt;&lt;/TextBlock&gt;
                          &lt;TextBlock Grid.Row="1" FontSize="18" Text="{Binding Question.Clue}"&gt;&lt;/TextBlock&gt;
                          &lt;TextBlock Grid.Row="2" x:Uid="ExamPage_OptionLabel"&gt;&lt;/TextBlock&gt;
                          &lt;ListBox x:Name="ListofOptions" Tag="{Binding Question.Id}"  Grid.Row="3" ItemsSource="{Binding Options}"  Padding="15" Width="280"
                                     Height="200" SelectionChanged="OptionsChange" Loaded="ListofOptions_Loaded"&gt;&lt;/ListBox&gt;
                      &lt;/Grid&gt;               
              &lt;/DataTemplate&gt;
          &lt;/FlipView.ItemTemplate&gt;
      &lt;/FlipView&gt;
  </code></pre>
  
  <p>in listbox's SelectionChanged event handler I disable the listbox</p>
  
  <pre><code>    private void OptionsChange(object sender, SelectionChangedEventArgs e)
      {
  
          ((ListBox)sender).IsEnabled = false;
  
  
      }
  </code></pre>
  
  <p>so the problem is that imagine the flipview has 6 items. when I click listbox's items in first flipview's item(each listbox has four own items),  the listbox in the first flipview's item is disabled but the listbox for the last flipview's item is also disabled. Moreover, when you flip to the last item in flipview and then comeback to the first item the listbox is shown as un-selected lisbox. this problem is not only for first and last flipview's item but also for 2th and 5th , 4th and 3th flipview's item.</p>
  
  <p>It is much strange :) :| </p>