Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Panorama Page Layout Change? Windows Phone 7

Is there a way to know when the panorama view gets changed from say a current title "Settings" to "Help"? I need this so I know what view to open if they click the add button or remove appbar buttons.

So lets say we got a panerama view like:

enter image description here

How can we know when the user changed from the recent part to the part the phone is currently on or the network part?

like image 643
Eric Avatar asked Feb 24 '23 23:02

Eric


1 Answers

The Panorama control raises a SelectionChanged event each time the user navigates from one PanoramaItem to the next. You can then determine the index of the current page by inspecting the SelectedIndex property.

like image 163
ColinE Avatar answered Mar 05 '23 12:03

ColinE