title: How to show the previous page gridview images in flipview control in another page in windows 8?
body: <p>I am displaying the items in grid view .I want to show the grid view items in another page using flip view control.How to dynamically display the selected item position in second page ?
  Please tell me how to achieve this?</p>
  
  <p>EDIT:
  In First Page :
  Grid View item click event i wrote code like this:</p>
  
  <pre><code>private void PhotoGrid_ItemClick(object sender, ItemClickEventArgs e)
          {
              var itemid = ((flipimage)e.ClickedItem);
              flipimage s = new flipimage() { ImageUrl = itemid.ImageUrl, Title = itemid.Title };
              this.Frame.Navigate(typeof(FlipPage), s);
          }
  </code></pre>
  
  <p>In Second Page:</p>
  
  <pre><code>protected override void OnNavigatedTo(NavigationEventArgs e)
          {
  
              flipimage s = (flipimage)e.Parameter;
             string url =  s.ImageUrl;
             flipviewcontrol.Items.Add(url);
  
  
          }
  </code></pre>
  
  <p>I want to display previous page selected item in second page and also click on next in flipview need to show after that selected item data.Please tell me how to write the code.
  For data binding to
  flipview :</p>
  
  <pre><code>XDocument xdoc = XDocument.Load("XMLFile1.xml");
              IEnumerable&lt;flipimage&gt; images = from img in xdoc.Descendants("Image") select new flipimage(img.Element("ImageTitle").Value, img.Element("ImageUrl").Value);
              flipviewcontrol.DataContext = images;
  </code></pre>
  
  <p>Design of Flipview:</p>
  
  <pre><code>&lt;Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}"&gt;
          &lt;FlipView HorizontalAlignment="Left" VerticalAlignment="Top" x:Name="flipviewcontrol" ItemsSource="{Binding}"&gt;
              &lt;FlipView.ItemTemplate&gt;
                  &lt;DataTemplate&gt;
  
                      &lt;Image HorizontalAlignment="Left"  Source="{Binding ImageUrl}" Height="762" VerticalAlignment="Top" Width="1360" x:Name="imagecontrol"/&gt;
                  &lt;/DataTemplate&gt;
              &lt;/FlipView.ItemTemplate&gt;
  
          &lt;/FlipView&gt;
  
      &lt;/Grid&gt;
  </code></pre>
  
  <p>Please tell me how to show previous page selected item value and when click on next in filpview need to show after selected items data of the  page vice versa!!!</p>