In WPF application, you can navigate from one page to another page; such a navigation system is known as Page Based Navigation. Page based applications are developed using the Page class and it can be done through the XAML and code behind file.

Page Class

Page class generally contains various properties; you can use those properties to implement your page based navigation.

Properties that cusotmize appearance of pages.

Page class contains certain properties that mostly involve in the appearance of the pages. Those properties are discussed as below.

Implementing Navigation

Hyperlinks are the easiest way to implement the navigation. It should be embedded in the text, so that they were placed in the elements that support them such as TextBlock. The following is the sample code for that.

1.gif

Events Used in Navigation System

The above article has covered the very basic things that are required to develop a page based navigation system in WPF.