public void OnNavigatedTo(Windows.Navigation.NavigationEventArgs e) { //occures when navigated to this page! //e.NavigationType can be New,Back,Refresh }
public void OnNavigatedFrom(Windows.Navigation.NavigationEventArgs e) { }
public void OnNavigatedTo(Windows.Navigation.NavigationEventArgs e) { //can be left out, base method is empty DataContext = null; //setting datacontext empty at first DataContext = Administration.ListeDarkRides(); //and setting it to the static ViewModel i created }
public void OnNavigatedFrom(Windows.Navigation.NavigationEventArgs e) { throw new NotImplementedException(); }
public void OnNavigatedTo(Windows.Navigation.NavigationEventArgs e) { DataContext = null; //setting datacontext empty at first DataContext = Administration.listePersonnel; //and setting it to the static ViewModel i created }
public void OnNavigatedTo(Windows.Navigation.NavigationEventArgs e) { //e.Content //Do Stuff here! }