CoreWebView2FindOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the options for a find session in the WebView2 control. This class provides the necessary properties to configure a find session.
public class CoreWebView2FindOptions
type CoreWebView2FindOptions = class
Public Class CoreWebView2FindOptions
- Inheritance
-
CoreWebView2FindOptions
Properties
| Name | Description |
|---|---|
| FindTerm |
Gets or sets the word or phrase to be searched in the current page.
You can set This will take effect the next time you call StartAsync(CoreWebView2FindOptions). |
| IsCaseSensitive |
Determines if the find session is case sensitive. Returns |
| ShouldHighlightAllMatches |
Gets or sets the state of whether all matches are highlighted.
Returns Note: Changes to this property take effect only when StartAsync(CoreWebView2FindOptions) is called. Preferences for the session cannot be updated unless another call to StartAsync(CoreWebView2FindOptions) is made. |
| ShouldMatchWord |
Determines if only whole words should be matched during the find session. Returns |
| SuppressDefaultFindDialog |
Gets or sets a value indicating whether the default Find UI should be suppressed.
You can use this to hide the default UI so that you can show your own custom UI or programmatically interact with the Find API while showing no Find UI. Returns |