Loads the HTML content at the specified URI.
Assembly: System.Windows (in System.Windows.dll)
The specified URI can be fully qualified or be a relative URI. When you set use a relative URI you should use the following convention:
"/Page1.html" is an application level resource that gets resolved to the base URI of the application (XAP file). This means the relative URI must resolve to the same site of origin as the application.
You cannot specify a URL to an embedded or local resource.
The following example shows a WebBrowser with its Source property set to an HTML page. In a button event handler, the WebBrowser source is changed to a different HTML page by calling the method. The host Silverlight application must be running outside the browser or in an in-browser trusted application for this example to function correctly.
Private Sub Button1_Click(ByVal sender As System.Object, _ ByVal e As System.Windows.RoutedEventArgs) WB1.Navigate(New Uri("http://localhost/HTMLPage2.htm"))
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.