Table of Contents

Method OnMouseClick

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

OnMouseClick(MouseEventArgs)

Called when a mouse click occurs. Check Flags to see which button was clicked.

protected override bool OnMouseClick(MouseEventArgs args)

Parameters

args MouseEventArgs

Returns

bool

true, if the event was handled, false otherwise.

Remarks

Called when the mouse is either clicked or double-clicked.

If WantContinuousButtonPressed is true, will be called on every mouse event where the mouse button is pressed.