Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经多次阅读了Exrin 教程,并浏览了几个 不同的在线 示例,这对入门非常有帮助,但我很难理解的一件事是 Exrin 使用的 ViewModel vs VisualState vs Model vs ModelState 方法并且想澄清一下每个属性/其他项目存储的类型以及它们之间的关系。
首先,这是一个如何设置的图表。
其次,通过一个例子。假设您有一个获取项目列表的 API。
你会这样做。
{Binding VisualState.ListOfItems}