Any Code Samples for MVVM Closable Tabs Example?
I am looking for the code samples or the sample project for the MSDN: MVVM Design Pattern for WPF tutorial. Somet开发者_如何学Ching similar is fine. I just want to see how I can add/remove tabs dynamically and where commands go
The samples are available on the MSDN Code Gallery under the Downloads tab.
Sacha Barber did this also in his Cinch framework, maybe there you find some information too.
You might have a look at the Writer sample application of the WPF Application Framework (WAF). It shows how to add/remove tabs when documents are opened or closed. The sample uses MVVM as well.
精彩评论