Caliburn Micro Navigation for Windows Phone

To navigate to a new page using Caliburn Micro first you need to register your ViewModel with the Caliburn Micro PhoneContainer in the AppBootstrapper

image

In your view model add a INavigationService parameter to allow Caliburn Micro to inject the navigation service

image

Then to navigate call Navigate on the UriFor method with your ViewModel type like this

image

Advertisements
  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: