Edit

Share via


WebView.NavigateToString(String) Method

Definition

Loads the specified HTML content as a new document.

public void NavigateToString (string text);
abstract member NavigateToString : string -> unit
override this.NavigateToString : string -> unit
Public Sub NavigateToString (text As String)

Parameters

text
String

The HTML content to display in the IWebView.

Implements

Remarks

NavigateToString(String) is asynchronous. Use the NavigationCompleted event to detect when navigation has completed.

NavigateToString(String) supports content with references to external files such as CSS, scripts, images, and fonts. However, it does not provide a way to generate or provide these resources programmatically.

Applies to