Closed sibille closed 5 years ago
Thinking about this, I believe we should add this page to the NavView to provide a complete and consistent example. We can add a text similar to this one to provide extra guidance when user navigates to the page using the NavView
We'll have a look at activation from DeepLinking to Pivot Projects too. App activates on SamplePage directly, instead of showing the SamplePage in the Pivot. X-Ref: #2540
Verified in dev-nightly: Templates version: 0.18.18257.1 Wizard version: 0.18.18257.1
Repro Steps:
Actual result: AppName.ViewModels.ShellViewModel is showing instead of title, similiar to this capture:
This behaviour is due to the fact that the page is not added to the NavigationViewItems, and Header is bound to the selected item.
The title would show correctly if we added the Sample page to the NavigationViewItems, but as it is a sample page that's not really part of the project we're not sure about it. Another option would be adding an empty string as fallbackvalue to the header, to show a blank header instead of AppName.ViewModels.ShellViewModel.
@crutkas, @mrlacey whats your opinion?