Click or drag to resize

WebBrowserExtensionsFind(IChromiumWebBrowserBase, String, Boolean, Boolean, Boolean) Method

Version 130.1.90
Search for text within the current page.

Namespace: CefSharp
Assembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax
public static void Find(
	this IChromiumWebBrowserBase browser,
	string searchText,
	bool forward,
	bool matchCase,
	bool findNext
)

Parameters

browser  IChromiumWebBrowserBase
The ChromiumWebBrowser instance this method extends.
searchText  String
text to search for
forward  Boolean
indicates whether to search forward or backward within the page
matchCase  Boolean
indicates whether the search should be case-sensitive
findNext  Boolean
indicates whether this is the first request or a follow-up

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IChromiumWebBrowserBase. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
The IFindHandler instance, if any, will be called to report find results.
See Also