|
@@ -19,13 +19,13 @@ public class MouseEventArgs : HandledEventArgs
|
|
|
/// </summary>
|
|
|
public Point ScreenPosition { get; set; }
|
|
|
|
|
|
- /// <summary>The deepest View who's screen coordinates are <see cref="ScreenPosition"/>.</summary>
|
|
|
+ /// <summary>The deepest View who's <see cref="View.Frame"/> contains <see cref="ScreenPosition"/>.</summary>
|
|
|
public View View { get; set; }
|
|
|
|
|
|
- /// <summary>The position of the mouse in <see cref="View"/>'s Viewport-relative coordinates.</summary>
|
|
|
+ /// <summary>The position of the mouse in <see cref="View"/>'s Viewport-relative coordinates. Only valid if <see cref="View"/> is set.</summary>
|
|
|
public Point Position { get; set; }
|
|
|
|
|
|
/// <summary>Returns a <see cref="T:System.String"/> that represents the current <see cref="Terminal.Gui.MouseEventArgs"/>.</summary>
|
|
|
/// <returns>A <see cref="T:System.String"/> that represents the current <see cref="Terminal.Gui.MouseEventArgs"/>.</returns>
|
|
|
- public override string ToString () { return $"({Position}):{Flags}"; }
|
|
|
+ public override string ToString () { return $"({ScreenPosition}):{Flags}:{View.Id}:{Position}"; }
|
|
|
}
|