CommunityToolkit
CommunityToolkit copied to clipboard
Missing information on removed behaviour when comparing RelayCommand with MvvmLight
It would be nice if the migration section for MvvmLight mentioned that now RelayCommand
no longer calls CanExecute
on every Execute
call.
A further interesting point is that MvvmLight RelayCommand
respected IConvert
when classes implemented it and used it to convert parameters. Now there is only a call.
These changes have quite a large impact for projects migrating and these should be statet up-front.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 3903f8e0-3910-0c93-19da-4444841f1da3
- Version Independent ID: 98fe05ba-474e-dab3-0b97-6dbd40c8440f
- Content: Migrating from MvvmLight - Windows Community Toolkit
- Content Source: docs/mvvm/MigratingFromMvvmLight.md
- Product: community-toolkit
- GitHub Login: @jamesmcroft
- Microsoft Alias: mhawker