1

我正在尝试在 WPF 中实现主详细信息表单。The master shows a list of records (objects) which when one is selected the detail view then just renders that object/shows the fields.

但是,如何将命令放在详细视图中?

IE 如果用户更新了一条记录,我该如何保存它?

视图只是绑定到模型类型,而不是视图模型,我不知道如何将它绑定到视图模型并因此访问命令。

4

0 回答 0