Windows 8 – FlipView – Programatically adding Next and Previous
So when using a flipview control there is no need for ‘next’ and ‘previous’ buttons as they are built into the UI already:
But … the Windows 8 UI is new and unless you are using a mouse those buttons above will stay hidden. So these programmatic buttons serve as clues that you can indeed go backwards and forwards through the apps detail screens (I have witnessed many people repeatedly using the back button to go back to the summary screen before touching the next item to go back to the details view – at least until the penny drops!
And the code is straightforward! Here is the XAML I used:
and here is the code behind:
NB You can download Surface News for free here: