How do you use flipview and make a “choice” by tapping or tapping the screen?

In Win 8, flipview management is an excellent control for viewing a collection. But how and what is the best way to make a “choice” with a click or mouse click? I can always put a button outside the flip view, but this is not the mysterious experience that every tablet would expect.

can someone give some sample code (XAML / C #) on how to set up a flipview control with some choice that will move to a completely different page?

+3
source share
1 answer

, , . FlipView :

<FlipView Tapped="FlipView_Tapped_1">
    <Image Source="Images/Apple.jpg" />
    <Image Source="Images/Orange.jpg" />
    <Image Source="Images/Banana.jpg" />
</FlipView>

private YourTypeHere SelectedItem;
private void FlipView_Tapped_1(object sender, TappedRoutedEventArgs e)
{
    this.SelectedItem = (sender as FlipView).SelectedItem;
}

, , . , - . , . FlipView ItemsControl , XAML. , . http://msdn.microsoft.com/en-us/library/system.windows.controls.itemscontrol.aspx

+5

All Articles