예제 #1
0
        protected override bool OnTooltip(CefBrowser browser, string text)
        {
            var e = new TooltipEventArgs(text);

            m_core.InvokeAsyncIfPossible(() => m_core.OnTooltip(e));
            return(e.Handled);
        }
예제 #2
0
 internal protected virtual void OnTooltip(TooltipEventArgs e)
 {
     if (Tooltip != null)
     {
         Tooltip(this, e);
     }
     else
     {
         e.Handled = false;
     }
 }
예제 #3
0
 internal protected virtual void OnTooltip(TooltipEventArgs eventArgs)
 {
     Tooltip?.Invoke(this, eventArgs);
 }
예제 #4
0
 /// <summary>
 /// The on tooltip.
 /// </summary>
 /// <param name="eventArgs">
 /// The event args.
 /// </param>
 public virtual void OnTooltip(TooltipEventArgs eventArgs)
 {
     TooltipChanged?.Invoke(this, eventArgs);
 }
예제 #5
0
 /// <summary>
 /// The on tooltip.
 /// </summary>
 /// <param name="eventArgs">
 /// The event args.
 /// </param>
 public virtual void OnTooltip(TooltipEventArgs eventArgs)
 {
     this.Tooltip?.Invoke(this, eventArgs);
 }