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