Using NavigationService without XAML files

Posted by UnclePaul on Stack Overflow See other posts from Stack Overflow or by UnclePaul
Published on 2012-07-01T04:13:51Z Indexed on 2012/07/01 9:15 UTC
Read the original article Hit count: 171

Filed under:
|
|
|

I'm trying to create some pages in my Windows Phone application without the use of any XAML. Everything is working, however, I'm failing to use NavigationService/ Journal with this approach and all my attempts to utilize it are answered by the usual "No XAML was found at the location {0}'" response. Yes, I can add an almost empty XAML file to get everything working, but is this kind of boiler plate code really necessary?

Is it maybe possible to use the UriMapping to map certain Uris to specific classes instead of *.xaml files?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about wpf