Table of Contents

Property Mouse

Namespace
Terminal.Gui.App
Assembly
Terminal.Gui.dll

Mouse

Gets the IMouse instance that manages mouse event handling and state.

public static IMouse Mouse { get; }

Property Value

IMouse

Remarks

This property provides access to mouse-related functionality in a way that supports parallel test execution by avoiding static state.

New code should use Application.Mouse instead of the static properties and methods for better testability. Legacy static properties like IsMouseDisabled and GetLastMousePosition() are retained for backward compatibility.