Table of Contents

Method OnMouseEvent

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

OnMouseEvent(MouseEventArgs)

Called when a mouse event occurs within the Padding.

protected override bool OnMouseEvent(MouseEventArgs mouseEvent)

Parameters

mouseEvent MouseEventArgs

Returns

bool

true, if the event was handled, false otherwise.

Remarks

The coordinates are relative to Viewport.

A mouse click on the Padding will cause the Parent to focus.