There are numerous ways of allowing the user to perform page navigation. This section looks at using
Buttons with code-beside to open external URLs, and at
HyperlinkButtons, which can rely solely on XAML. In subsequent chapters you explore other techniques to perform navigation including the use of commands and a custom navigation service.
When navigating to
PhoneApplicationPages within an application, URIs either must be relative to the root directory of the project and use the relative path syntax, as shown in the following excerpt:
Uri uri = new Uri("/DirectoryName/PageName.xaml", UriKind.Relative);
or they must use the relative component URI format, such as that used in the following example: ...