Method OnMouseEvent
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.
public override bool OnMouseEvent(MouseEventArgs me, bool fromHost = false)
Parameters
me
MouseEventArgsThe mouse event.
fromHost
boolIf was called from the popup or from the host.
Returns
- bool
true
if the mouse can be handledfalse
otherwise.