protected override void Initialise() { base.Initialise(); _page = Window.Current.Content.FindChild <DiscordPage>(); _pageModel = _page.DataContext as DiscordPageModel; _navigationStack = new Stack <NavigationEvent>(); _navigation = SystemNavigationManager.GetForCurrentView(); _navigation.BackRequested += OnBackRequested; }
protected override void Initialise() { _discordPage = Window.Current.Content.FindChild <DiscordPage>(); }