title: Binding different ItemSource inside FlipView DataContext WPF
body: <p>I'm currently working with a Windows 10 Mobile App. I have a simple DateTime list, like this:</p>
  
  <pre><code>public DateTime NextDate { get; set;}
  public DateTime PrevDate { get; set;}
  // list of date
  public List&lt;DateTime&gt; DateList { get; set; }
  
  protected override void OnNavigatedTo(NavigationEventArgs e)
  {
      base.OnNavigatedTo(e);
      DateTime beginDate = new DateTime(2015, 9, 22);
      DateTime endDate = DateTime.Today;
      DateList = new List&lt;DateTime&gt;();
      for (DateTime date = beginDate; date &lt; endDate; date = date.AddDays(1))
      {
          DateList.Add(date);
      }
  }
  </code></pre>
  
  <p>Now I want to show it it the flipview, not only one day but also 3 days: current day, prev day, and next day.</p>
  
  <p>Here is my XAML code:</p>
  
  <pre><code>&lt;FlipView x:Name="dateFlipView" BorderBrush="Azure" Height="100"
              ItemsSource="{Binding DateList}" SelectionChanged="dateFlipView_SelectionChanged"&gt;
      &lt;FlipView.ItemTemplate&gt;
          &lt;DataTemplate&gt;
              &lt;!-- show previous date --&gt;
              &lt;Canvas Height="100" Width="100" Background="#FF7683FF"&gt;
                  &lt;StackPanel Width="100" HorizontalAlignment="Left"&gt;
                      &lt;TextBlock Text="{Binding Day}" Style="{StaticResource HeaderTextBlockStyle}" HorizontalAlignment="Center"/&gt;
                      &lt;StackPanel Orientation="Horizontal" HorizontalAlignment="Center"&gt;
                          &lt;TextBlock Text="{Binding Month}" Margin="0,0,8,0" Style="{StaticResource CaptionTextBlockStyle}"/&gt;
                          &lt;TextBlock Text="{Binding Year}" HorizontalAlignment="Right" Style="{StaticResource CaptionTextBlockStyle}"/&gt;
                      &lt;/StackPanel&gt;
                      &lt;StackPanel&gt;
                          &lt;TextBlock Text="{Binding Day}"/&gt;
                      &lt;/StackPanel&gt;
                  &lt;/StackPanel&gt;
              &lt;/Canvas&gt;
              &lt;!-- show next date --&gt;
          &lt;/DataTemplate&gt;
      &lt;/FlipView.ItemTemplate&gt;
  &lt;/FlipView&gt;
  </code></pre>
  
  <p>The above code just show only one date.</p>
  
  <p>I found a solution that I can add 2 DateTime properties, <code>NextDate</code> and <code>PrevDate</code>, and in the FlipView, can use Binding <code>RelativeSource={RelativeSource AncestorType={x:Type Window}}, Path=ColumnHeadInfo}</code>. But I don't know exactly what I should do yet.</p>