HtmlWindow.Navigate Method (Uri)

Silverlight

Opens the specified page in the current browser.

Namespace:  System.Windows.Browser
Assembly:  System.Windows.Browser (in System.Windows.Browser.dll)

public void Navigate(
	Uri navigateToUri
)

Parameters

navigateToUri
Type: System.Uri
The URL of the page to open.

ExceptionCondition
ArgumentNullException

navigateToUri is null.

This method is equivalent to the JavaScript open method with the target set to _self. For more information, see the open method in the dynamic HTML (DHTML) documentation.

The following code example demonstrates how to use this method.


System.Windows.Browser.HtmlPage.Window.Navigate(
    new Uri("http://silverlight.net"));


Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: