WebView2Wpf.NavigateToString(string) method¶
Defined in
Type: WebView2Wpf
Namespace: CrissCross.WPF
Assembly: CrissCross.WPF.WebView2.dll
Applies to
net10.0-windows7.0, net9.0-windows7.0, net8.0-windows7.0, net481
public void NavigateToString(string htmlContent)
Summary: Initiates a navigation to htmlContent as source HTML of a new document. Equivalent to calling Microsoft.Web.WebView2.Core.CoreWebView2.NavigateToString(System.String) on Microsoft.Web.WebView2.Wpf.WebView2.CoreWebView2.
Parameters
| Name | Type | Description |
|---|---|---|
htmlContent | string | Content of the HTML. |