我是 WPF 新手,看了这篇文章后,
用于带有 WPF 的图表应用程序的 MVVM 模式 - 将枚举转换为 xxxViewModel
我想知道是否可以使用或鼓励将 MVVM 用于我喜欢尝试的简单应用程序:
- 这个简单的应用程序是一个 WPF 流程图设计器,它允许用户将图标添加到画布,以便它们彼此相关。
另外,我想知道开发人员如何实现代码隐藏,其中活动节点在 while 循环中的短时间后突出显示。
假设拖放后应用程序中有 3 个节点。
time active node
1st-5ths A
6th-10th B (active node moved from A to B)
11th-15th C (active node moved from B to C)
16th-20th A (active node from C to A because of while loop link)
这是否适合 MVVM 模式使用?
谢谢