private void WebView_TextFound(object sender, ITextFoundEventArgs e) { if (e.FinalUpdate) { SelectedView?.StopFinding(false); } }
/// <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); }
void IChromiumWebViewPrivate.RaiseTextFound(ITextFoundEventArgs e) { RaiseCrossThreadEvent(OnTextFound, e, false); }