I am using the Frame navigation control. Programmatically, I specify the page to fill the frame (like “Views\Home.xaml”). The browser is currently using string specified in the Frame control as the name of the page; in other words, the browser displays “Views\Home.xaml” as the name of the page.
I tried setting the “Name” property on the frame control, but that does not effect the name displayed by the browser.
If you are using the navigation control, you do have access to (e.g.
navigation:Page) and that contains a Title property.Now, you say that you programmatically specify the page to fill the frame, however you do not specify if you are simply browsing there programmatically.
If you set up your UriMapper to contain something like the following:
Then you can navigate to any page from the code-behind by simply using the Uri Format. For example:
will browse to
/Views/About.xamlbut will provide a page name of: