protected override bool OnTooltip(CefBrowser browser, string text)
        {
            var evntArgs = new TooltipEventArgs(text);

            _browser.InvokeAsyncIfPossible(() => _browser.OnTooltip(evntArgs));
            return(evntArgs.Handled);
        }
Beispiel #2
0
 /// <summary>
 /// The on tooltip.
 /// </summary>
 /// <param name="eventArgs">
 /// The event args.
 /// </param>
 public void OnTooltip(TooltipEventArgs eventArgs)
 {
     TooltipChanged?.Invoke(this, eventArgs);
 }