CH 22 Navigation --- /Home, again
I looked at the example of a Frame object source property value on the link you mention. It shows Source="/Views/Home.xaml". In the book excercise, the value is Source="/Home", and then the uriMapper has the MappedUri property value which includes the "/Views/" in the path.
I guess that what you are saying is that, when "/Home" is used in the Frame Source property value when the browser is first launched, that value becomes the {pageName} value in the MappedUrl property value.
Then, when a page HyperlinkButton is pressed, the NavigateUrl property value becomes the {pageName} value in the UriMapper in the "ContentFrame".
Correct?
|