سؤال

It's very quick question but I was looking for it in Google for 2 days without any result...

How to navigate between screens in panorama? There is only one page so I guess that doesn't work:

NavigationService.Navigate(new Uri("MainPage.xaml", UriKind.Relative));

Otherwise: How to change the place in panorama that will be displayed on the phone display? Or how to change the panoramaItem that will be displayed?

هل كانت مفيدة؟

المحلول

PANORAMA_CONTROL.DefaultItem = PANORAMA_CONTROL.Items[1]; It will cause items to be a bit re-arranged since you are setting an item to be the first in the list, but other than that it is an acceptable way to do this, since it will actually bring the item in front of the user.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top