Table of Contents

Method OnMouseEvent

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

OnMouseEvent(MouseEventArgs, bool)

Handle mouse events before HostControl e.g. to make mouse events like report/click apply to the autocomplete control instead of changing the cursor position in the underlying text view.

bool OnMouseEvent(MouseEventArgs me, bool fromHost = false)

Parameters

me MouseEventArgs

The mouse event.

fromHost bool

If was called from the popup or from the host.

Returns

bool

trueif the mouse can be handled falseotherwise.