/// <summary> /// Handles the Click event of the SkipButton control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="RoutedEventArgs" /> instance containing the event data.</param> private void SkipButton_Click(object sender, RoutedEventArgs e) { if (OnSkipButtonClicked != null) { OnSkipButtonClicked.Invoke(sender, e); } }
/// <summary> /// Skip button clicked, pop navigation /// </summary> private void Skip_Clicked(object sender, EventArgs e) { if (!isValid(Position)) { return; } CheckVibrate(); if (ShowBackButton && Position > 0) { this.Position--; } else { OnSkipButtonClicked?.Invoke(); Navigation.PopModalAsync(); } }
/// <summary> /// Skip button clicked, pop navigation /// </summary> private void Skip_Clicked(object sender, EventArgs e) { OnSkipButtonClicked?.Invoke(); Navigation.PopModalAsync(); }