Let's have a button Command
property bound to a custom command.
When should I implement ICommand
and when derive from RoutedCommand
? I see that RoutedCommand implements ICommand.
In which case could I need to implement an ICommand
?
What about MVVM model? Which one suits better for this purpose?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…