PointEventArgs.cs 430 B

123456789101112
  1. namespace Terminal.Gui;
  2. /// <summary>Event args for events which relate to a single <see cref="Point"/></summary>
  3. public class PointEventArgs : EventArgs
  4. {
  5. /// <summary>Creates a new instance of the <see cref="PointEventArgs"/> class</summary>
  6. /// <param name="p"></param>
  7. public PointEventArgs (Point p) { Point = p; }
  8. /// <summary>The point the event happened at</summary>
  9. public Point Point { get; }
  10. }