开发者

Any Code Samples for MVVM Closable Tabs Example?

开发者 https://www.devze.com 2023-01-19 01:35 出处:网络
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 dynami

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消