The following forum(s) are migrating to a new home on Microsoft Q&A (Preview): Developing Universal Windows apps!

Ask new questions on Microsoft Q&A (Preview).
Interact with existing posts until December 13, 2019, after which content will be closed to all new and existing posts.

Learn More

Panorama scroll to next or previous item RRS feed

  • Question

  • Hi all,

    i want to scroll to next or previous item in a Panorama page when I click a button.

    When I simply set a default item i've not the scroll effect.

    Any suggestions?

    Thanks to all!!


    Monday, March 24, 2014 10:08 AM

All replies

  • Hi,

    You can make use of the DefaultItem Property to achieve this.

    panoramaRoot.DefaultItem = (PanoramaItem)panoramaRoot.Items[1];

    I think the Transition feel will be missing by doing so,

    But you can achieve the transition by using Phone.Controls.Toolkit library.

    A detailed discussion is here 

    Pradeep AJ

    Monday, March 24, 2014 10:35 AM
  • You can't. Panorama isn't designed to be set from back end except for setting the default item. You can however write your own animation which is going to be very complex. Think of redesigning your UI

    All your questions about windows phone ends here

    Monday, March 24, 2014 10:40 AM