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?

4

1 回答 1

1

您忘记了在代码隐藏中对InitializeComponent的调用。提示:创建具有 Catel 行为的基类,然后将其用作基本视图。它将使您的实际窗口代码更清晰。

于 2014-02-08T14:13:12.907 回答