/// <summary> /// Executes the ShowSettingsCommand command. /// Updates value of the HeartRateLimitSliderBufferValue property. /// Navigates to the settings page by executing NavigateToCommand command /// of the PageNavigation class. /// </summary> private async void ExecuteShowSettingsCommand() { HeartRateLimitBufferValue = HeartRateLimitValue; await AppPageNavigation.PushAsync(new SettingsPage(), false); }
/// <summary> /// Handles execution of FileInformationCommand command. /// Navigates to the file information page. /// </summary> private void ShowFileInformation() { AppPageNavigation.NavigateToFileInfoPage(); }
/// <summary> /// Executes UpdateHeartRateLimitCommand command. /// Updates value of the HeartRateLimitSliderValue property. /// Navigates back to the measurement page by executing NavigateBackCommand command /// of the PageNavigation class. /// </summary> private async void ExecuteUpdateHeartRateLimitCommand() { HeartRateLimitValue = HeartRateLimitBufferValue; await AppPageNavigation.PopAsync(); }
/// <summary> /// Executes the ShowSettingsCommand command. /// Updates value of the HeartRateLimitSliderBufferValue property. /// Navigates to the settings page by executing NavigateToCommand command /// of the PageNavigation class. /// </summary> /// <param name="obj">Command parameter.</param> private void ExecuteShowSettingsCommand(object obj) { HeartRateLimitBufferValue = HeartRateLimitValue; AppPageNavigation.PushAsync(new SettingsPage(), false); }