Freigeben über


CoreWebView2FindOptions.ShouldMatchWord Property

Definition

Similar to case sensitivity, word matching also can vary by locale, which may be influenced by both the browser's UI locale and the document's language settings. The browser's UI locale typically provides a default handling approach, while the document's language settings (e.g., specified using the HTML lang attribute) can override these defaults to apply locale-specific rules. This dual consideration ensures that text is processed in a manner consistent with user expectations and the linguistic context of the content. ShouldMatchWord determines if only whole words should be matched during the find session. Returns TRUE if only whole words should be matched, FALSE otherwise.

public bool ShouldMatchWord { get; set; }
member this.ShouldMatchWord : bool with get, set
Public Property ShouldMatchWord As Boolean

Property Value

Applies to