Table of Contents

Class MouseEvent

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Conveys the details of mouse events, such as coordinates and button state, from ConsoleDrivers up to Application and Views.

public class MouseEvent
Inheritance
MouseEvent
Inherited Members

Remarks

The Application class includes the MouseEvent event which takes a MouseEvent argument.

Properties

Flags

Flags indicating the kind of mouse event that is being posted.

Handled

Indicates if the current mouse event has been processed. Set this value to true to indicate the mouse event was handled.

Position

The position of the mouse in Viewport-relative coordinates.

ScreenPosition

The screen-relative mouse position.

View

The View at the location for the mouse event.

Methods

ToString()

Returns a string that represents the current MouseEvent.