WizardButtonEventArgs.cs 553 B

123456789101112131415161718192021222324
  1. using System;
  2. namespace Terminal.Gui {
  3. public partial class Wizard {
  4. /// <summary>
  5. /// <see cref="EventArgs"/> for <see cref="WizardStep"/> transition events.
  6. /// </summary>
  7. public class WizardButtonEventArgs : EventArgs {
  8. /// <summary>
  9. /// Set to true to cancel the transition to the next step.
  10. /// </summary>
  11. public bool Cancel { get; set; }
  12. /// <summary>
  13. /// Initializes a new instance of <see cref="WizardButtonEventArgs"/>
  14. /// </summary>
  15. public WizardButtonEventArgs ()
  16. {
  17. Cancel = false;
  18. }
  19. }
  20. }
  21. }