当前位置: 代码迷 >> C# >> 怎么在ViewModel里生成控件
  详细解决方案

怎么在ViewModel里生成控件

热度:19   发布时间:2016-05-05 03:56:21.0
如何在ViewModel里生成控件?


大概要求是这样:

1 个 tabcontrol

tabcontrol 可以生成很多个Button

全都是MVVM的ViewModel动态生成,而且还要能绑定Command,

怎么弄?
------解决思路----------------------
ViewModel跟控件无关。
  相关解决方案