mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-04 09:06:04 +02:00
* Reset branch for WPF changes * Convert BMP to PNG; fix link-out-of-scope err * Add snippets for WPF... 6794 files!!!! * Add missing snippets * update file updated between migration * Fix paths to include * update breadcrumb and toc * fix index links * fix index links * fix index links * fix markdown
1.3 KiB
1.3 KiB
title, ms.date, dev_langs, helpviewer_keywords, ms.assetid
| title | ms.date | dev_langs | helpviewer_keywords | ms.assetid | ||||
|---|---|---|---|---|---|---|---|---|
| How to: Navigate to a Page | 03/30/2017 |
|
|
2a556fc0-748b-417f-a58a-0d05a7afb66f |
How to: Navigate to a Page
This example illustrates several ways in which a page can be navigated to from a xref:System.Windows.Navigation.NavigationWindow.
Example
It is possible for a xref:System.Windows.Navigation.NavigationWindow to navigate to a page using one of the following:
-
The xref:System.Windows.Navigation.NavigationWindow.Source%2A property.
-
The xref:System.Windows.Navigation.NavigationWindow.Navigate%2A method.
[!code-csharpHOWTONavigationSnippets#NavigateToPageCODE] [!code-vbHOWTONavigationSnippets#NavigateToPageCODE]
Note
Uniform resource identifiers (URIs) can be either relative or absolute. For more information, see Pack URIs in WPF.