NavigationService.Navigate Method (Uri)
Assembly: PresentationFramework (in presentationframework.dll)
A Uri object initialized with the URI for the desired content.
Return ValueA Boolean value that is set to true if a navigation is not canceled; otherwise, false.
The value of source an be Web URL, or a valid pack URI (see Pack URIs in Windows Presentation Foundation).
Navigate will navigate to the URI specified by source if the following conditions are true:
The Navigating event is not cancelled.
A web request (see Navigating) can be created.
If source is a null reference (Nothing in Visual Basic), the existing content (Content) is cleared.
When downloading Web content, you may receive a web exception (eg 404: File Not Found). You can handle such exceptions from NavigationFailed.
You can use Navigate to navigate to a content fragment. If the content identified by the URI is the current content, it is not downloaded again.
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.