2
0

SliderOptionEventArgs.cs 545 B

12345678910111213
  1. #nullable disable
  2. namespace Terminal.Gui.Views;
  3. /// <summary><see cref="EventArgs"/> for <see cref="Slider{T}"/> <see cref="SliderOption{T}"/> events.</summary>
  4. public class SliderOptionEventArgs : EventArgs
  5. {
  6. /// <summary>Initializes a new instance of <see cref="SliderOptionEventArgs"/></summary>
  7. /// <param name="isSet"> indicates whether the option is set</param>
  8. public SliderOptionEventArgs (bool isSet) { IsSet = isSet; }
  9. /// <summary>Gets whether the option is set or not.</summary>
  10. public bool IsSet { get; }
  11. }