Link to home
Start Free TrialLog in
Avatar of quentinA
quentinAFlag for United Kingdom of Great Britain and Northern Ireland

asked on

WPF with MVVM, RelayCommand vs DelegateCommand

Hi,
which is better to use: RelayCommand or DelegateCommand?
And why is it better?
ASKER CERTIFIED SOLUTION
Avatar of Ravi Vaddadi
Ravi Vaddadi
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of quentinA

ASKER

Thanks for this info. Does the RelayCommand, being simpler, have any drawbacks that the more complicated DelegateCommand solves? Which would you use?
Would be useful to know which people prefer to use
It depends on what you are tying to do ? If you just want to implement MVVM then you could go with MVVM light and If you looking for developing composite applications you use Prism.