public DetailsPage() { this.InitializeComponent(); this.navigationHelper = new NavigationHelper(this); this.navigationHelper.LoadState += this.NavigationHelper_LoadState; this.navigationHelper.SaveState += this.NavigationHelper_SaveState; }
public NavigatedPage() : base() { this.NavigationCacheMode = NavigationCacheMode.Required; this.navigationHelper = new NavigationHelper(this); this.navigationHelper.LoadState += OnNavigationHelperLoadState; this.navigationHelper.SaveState += OnNavigationHelperSaveState; }
public DisplayAllView() { this.InitializeComponent(); EntryRepository = new EntryRepository(); NavigationHelper = new NavigationHelper(this); DefaultViewModel = new ObservableDictionary(); NavigationHelper.LoadState += NavigationHelper_LoadState; NavigationHelper.SaveState += NavigationHelper_SaveState; }
public AgricolaCalculatorView() { this.InitializeComponent(); this.navigationHelper = new NavigationHelper(this); this.navigationHelper.LoadState += this.NavigationHelper_LoadState; this.navigationHelper.SaveState += this.NavigationHelper_SaveState; this.DataContext = this.model; }
public AddNewView() { this.InitializeComponent(); DefaultViewModel = new ObservableDictionary(); Categories = DataHandler.Instance.GetUniqueCategories(); ComboCategories.ItemsSource = Categories; NavigationHelper = new NavigationHelper(this); NavigationHelper.LoadState += NavigationHelper_LoadState; NavigationHelper.SaveState += NavigationHelper_SaveState; App = (App)Application.Current; }
public MainPage() { this.InitializeComponent(); this.NavigationCacheMode = NavigationCacheMode.Required; this.navigationHelper = new NavigationHelper(this); this.navigationHelper.LoadState += navigationHelper_LoadState; this.navigationHelper.SaveState += navigationHelper_SaveState; this.OpenAgricolaCalc = new RelayCommand(this.OpenAgricolaCalcInternal); this.GameName = "Open"; this.DataContext = this; }
public SearchPage() { InitializeComponent(); NavigationHelper = new NavigationHelper(this); NavigationHelper.LoadState += NavigationHelper_LoadState; NavigationHelper.SaveState += NavigationHelper_SaveState; if (! Windows.ApplicationModel.DesignMode.DesignModeEnabled) { if (ViewModel == null) { ViewModel = Resolver.Instance.Resolve<SearchPageViewModel>(); DataContext = ViewModel; } } }
public EditView() { InitializeComponent(); NavigationHelper = new NavigationHelper(this); App = (App)Application.Current; }
protected BasePage() { this.navigationHelper = new NavigationHelper(this); this.navigationHelper.LoadState += navigationHelper_LoadState; this.navigationHelper.SaveState += navigationHelper_SaveState; }