ShowDialog() or Show() leads to NullReferenceException #598
Unanswered
patrickiel
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need to instantiate a window from a class library, I don't have any App.xaml...
I'm having problems instantiating the Window, as soon as I get to the ShowDialg() methode the view and viewmodel variable is null, I get a NullReferenceException.
I inherit from UiWindow (in MyView.xaml.cs) is that correct?
MyView.xaml.cs
MyView.xaml
Beta Was this translation helpful? Give feedback.
All reactions