Ejemplo n.º 1
0
 private void WebView_TextFound(object sender, ITextFoundEventArgs e)
 {
     if (e.FinalUpdate)
     {
         SelectedView?.StopFinding(false);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Raises the <see cref="TextFound"/> event.
 /// </summary>
 /// <param name="e">A <see cref="ITextFoundEventArgs"/> that contains the event data.</param>
 protected virtual void OnTextFound(ITextFoundEventArgs e)
 {
     TextFoundEvent?.Invoke(this, e);
 }
Ejemplo n.º 3
0
 void IChromiumWebViewPrivate.RaiseTextFound(ITextFoundEventArgs e)
 {
     RaiseCrossThreadEvent(OnTextFound, e, false);
 }