public ImageCollectionPage(NavigationController navigationController) : this() { this.NavigationController = navigationController; //setting DataContext in code-behind as a bug exists in dev preview //http://social.msdn.microsoft.com/Forums/en-US/winappswithcsharp/thread/fab270de-6a35-46f4-bbe1-4fb33dc9b5dc PageTitle.DataContext = this.NavigationController; }
public ImageDetailPage(NavigationController navigationController) : this() { this.NavigationController = navigationController; }
private void _RunApp(string username, string apiKey) { _NavigationController = new NavigationController(username, apiKey); _NavigationController.SetView("MetroFlickr", _RequestedView, null, null, null); }