KeystrokeNavigatorEventArgs.cs 633 B

12345678910111213141516171819202122
  1. using System;
  2. namespace Terminal.Gui {
  3. /// <summary>
  4. /// Event arguments for the <see cref="CollectionNavigator.SearchStringChanged"/> event.
  5. /// </summary>
  6. public class KeystrokeNavigatorEventArgs : EventArgs {
  7. /// <summary>
  8. /// he current <see cref="SearchString"/>.
  9. /// </summary>
  10. public string SearchString { get; }
  11. /// <summary>
  12. /// Initializes a new instance of <see cref="KeystrokeNavigatorEventArgs"/>
  13. /// </summary>
  14. /// <param name="searchString">The current <see cref="SearchString"/>.</param>
  15. public KeystrokeNavigatorEventArgs (string searchString)
  16. {
  17. SearchString = searchString;
  18. }
  19. }
  20. }