Quantcast
Channel: MVVM Light Toolkit
Viewing all articles
Browse latest Browse all 1826

New Post: How to separate commands into separate classes for a large viewmodel?

$
0
0
Thanks, I was thinking about going it that way. We host an editor control with a bunch of formatting commands, for instance, so I'll create a separate viewmodel for the "active editor".

Out of curiosity, is there a reason MVVM Light uses RelayCommand rather than a subclassable ICommand? I mean, that lambda syntax is super-convenient, but why no CommandBase for "heavier" commands? Is it just that it's never been needed (using modular viewmodels) or is there some technical reason?

Viewing all articles
Browse latest Browse all 1826

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>