// Constructor public PanoPage() { InitializeComponent(); this.ViewModel = PanoVM.Instance; this.DataContext = this.ViewModel; RecentStopsQueue.Refresh(); CurrentInstance = this; // Sample code to localize the ApplicationBar //BuildLocalizedApplicationBar(); }