// Back to contacts page private void Back() { _userManager.ChangeUserStatus(UserState.online); _chatManager.UserDisconnected(); _navigationService.GoBack(); //_chatManager.NotifyViewModelbackNavigation }
void _SaveConfig(DeviceInfoModel dev) { //_navigationService.NavigateTo("Shell"); selectedCard.strCardType = LstCardsSelectedItem.DeviceTypeName; Messenger.Default.Send <DeviceSlectedConfigMsg>(new DeviceSlectedConfigMsg(selectedCard)); _navigationService.GoBack(); }
public PatientViewModel(IFrameNavigationService navigationService) { _navigationService = navigationService; Messenger.Default.Register <Pacient>(this, "Patient", pat => { Pacient = pat; RaisePropertyChanged(nameof(Pacient)); PhotoPath = "../Images/ic_account_circle_white_48dp_2x.png"; RaisePropertyChanged(nameof(PhotoPath)); }); Back = new RelayCommand(async() => { source.Cancel(); await Task.Delay(500); _navigationService.GoBack(); }); CardioPlotLst = new ObservableCollection <CardioPlot>(); HeartRatePlotLst = new ObservableCollection <HeartRatePlot>(); TemperaturePlotLst = new ObservableCollection <TemperaturePlot>(); _timer = new DispatcherTimer(); _timer.Tick += _timer_Tick; _timer.Interval = TimeSpan.FromSeconds(1); }
//Logout to register page. private void Logout() { if (_userManager.InvokeLogout()) { _navigationService.GoBack(); } }
private void Save() { navigator.GoBack(); }
private void goBack() { _navigationService.GoBack(); }
private void OnGoBackMessage(GoBackMessage message) { _frameNavigationService.GoBack(); }
private void BackExecute() { _navigationService.GoBack(); }
/// <summary> /// Navigates to the previous page in the current navigation stack if possible. /// </summary> public void NavigateBack() { _navigationService.GoBack(); }
private void cancel() { _navigationService.GoBack(); }