コード例 #1
0
        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;
        }
コード例 #2
0
 public ImageDetailPage(NavigationController navigationController)
     : this()
 {
     this.NavigationController = navigationController;
 }
コード例 #3
0
 private void _RunApp(string username, string apiKey)
 {
     _NavigationController = new NavigationController(username, apiKey);
     _NavigationController.SetView("MetroFlickr", _RequestedView, null, null, null);
 }