waf-framework-c#

Implementing an own “Factory” for reusing Views in WPF

吃可爱长大的小学妹 提交于 2019-12-21 05:51:29
问题 I'm currently using WAF (WPF Application Framework) for programming in WPF. I really like the idea to have an own ViewModel for every small View-Unit in my application which I subsequently implemented in this way. In my project I got a complex list in which every list-element also contains a list. Each list and list-list element is an own ViewModel because of the complexity. The "worst-case" scenario contains 60-90 viewmodels in total, just for the list-view. (It's a list of questions where

Implementing an own “Factory” for reusing Views in WPF

时光怂恿深爱的人放手 提交于 2019-12-03 20:20:54
I'm currently using WAF (WPF Application Framework) for programming in WPF. I really like the idea to have an own ViewModel for every small View-Unit in my application which I subsequently implemented in this way. In my project I got a complex list in which every list-element also contains a list. Each list and list-list element is an own ViewModel because of the complexity. The "worst-case" scenario contains 60-90 viewmodels in total, just for the list-view. (It's a list of questions where each question has a list of answers with ratings and other ui elements). This implementation works great