Skip to content

NavigationWebView.NavigateToString(string) method

Defined in

Type: NavigationWebView Namespace: CrissCross.WPF Assembly: CrissCross.WPF.dll

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

public void NavigateToString(string htmlContent)

View source

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

NameTypeDescription
htmlContentstringContent of the HTML.