Table of Contents

Method OnMouseEvent

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

OnMouseEvent(MouseEvent)

Called when a mouse event occurs within the view's Viewport.

protected virtual bool OnMouseEvent(MouseEvent mouseEvent)

Parameters

mouseEvent MouseEvent

Returns

bool

true, if the event was handled, false otherwise.

Remarks

The coordinates are relative to Viewport.