コード例 #1
0
 /// <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);
 }
コード例 #2
0
 /// <summary>
 /// Handles execution of FileInformationCommand command.
 /// Navigates to the file information page.
 /// </summary>
 private void ShowFileInformation()
 {
     AppPageNavigation.NavigateToFileInfoPage();
 }
コード例 #3
0
 /// <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();
 }
コード例 #4
0
 /// <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);
 }