--- title: "How to: Navigate to a Page" ms.date: "03/30/2017" dev_langs: - "csharp" - "vb" helpviewer_keywords: - "pages [WPF], navigating to" - "navigation [WPF], to page" ms.assetid: 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 . ## Example It is possible for a to navigate to a page using one of the following: - The property. - The method. [!code-csharp[HOWTONavigationSnippets#NavigateToPageCODE](~/samples/snippets/csharp/VS_Snippets_Wpf/HOWTONavigationSnippets/CSharp/MainWindow.xaml.cs#navigatetopagecode)] [!code-vb[HOWTONavigationSnippets#NavigateToPageCODE](~/samples/snippets/visualbasic/VS_Snippets_Wpf/HOWTONavigationSnippets/visualbasic/mainwindow.xaml.vb#navigatetopagecode)] > [!NOTE] > Uniform resource identifiers (URIs) can be either relative or absolute. For more information, see [Pack URIs in WPF](pack-uris-in-wpf.md). ## See also - - -