public GoProOfficialPage()
        {
            this.InitializeComponent();
            _navigationHelper = new NavigationHelper(this);
            GoProOfficialModel = new GoProOfficialViewModel();

            SizeChanged += OnSizeChanged;
        }
 protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     GoProOfficialModel = NavigationServices.CurrentViewModel as GoProOfficialViewModel;
     if (e.NavigationMode == NavigationMode.New && NavigationContext.QueryString.ContainsKey("id"))
     {
         string id = NavigationContext.QueryString["id"];
         if (!String.IsNullOrEmpty(id))
         {
             _isDeepLink = true;
             GoProOfficialModel = new GoProOfficialViewModel();
             NavigationServices.CurrentViewModel = GoProOfficialModel;
             GoProOfficialModel.LoadItem(id);
         }
     }
     if (GoProOfficialModel != null)
     {
         GoProOfficialModel.ViewType = ViewTypes.Detail;
     }
     DataContext = GoProOfficialModel;
     base.OnNavigatedTo(e);
 }
 public GoProOfficialPage()
 {
     InitializeComponent();
     GoProOfficialModel = new GoProOfficialViewModel();
 }