0

I'm trying to open a View with a ViewModel from my MainWindowViewModel. It works, but all I get is a blank window. It binds the correct title but every other control is missing.

Did anyone have the same problem and found a solution?

Stefan Schmid
  • 1,012
  • 10
  • 28

1 Answers1

1

You forgot the call to InitializeComponent in your code-behind. Just a tip: create a base class with the Catel behaviors, then use that as a base view. It will keep your actual window code-behind much cleaner.

Geert van Horrik
  • 5,689
  • 1
  • 18
  • 32