Replies: 1 comment
-
Hi @Devontu, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I took this example and implemented an MVVM model, but I launch the page from Shell under a flyout item as shellcontent like:
new ShellContent
{
Title = "SUMMARY",
Route = nameof(DashboardPage),
ContentTemplate = new DataTemplate(typeof(DashboardPage)),
},
And when launching, I now get a "System.MissingMethodException: 'No parameterless constructor defined for type DashboardPage" error, as it appears to be expecting the viewmodel as a parameter. Not sure how that can be done?
Beta Was this translation helpful? Give feedback.
All reactions