We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Platform : WPF
|
Category : Navigation

How do I pass data between pages in a NavigationWindow ?

In most of the web based applications, there is a need to pass data between pages in order to perform specific tasks. Data can be passed between pages in the NavigationWindow using the overloads of the "Navigate()" method in the "NavigationService" class.

The following code snippet is used to pass data from one page to another.

For this to work, mypage class should contain a constructor defined as follows.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.