Ejemplo n.º 1
0
 /// <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);
     }
 }
Ejemplo n.º 2
0
 /// <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();
 }