Minor
4.5
4.5
Planned
In the .NET Framework 4.5, a xref:System.Windows.Input.ICommand.CanExecuteChanged?displayProperty=name was ignored unless the sender of the event was the same object as the object that raised the event. This bug was fixed in .NET Framework 4.5 servicing updates.
- Quirked
- Build-time break
This bug has been fixed in the .NET Framework 4.5 servicing releases, so it can be avoided by making sure that the .NET Framework is up-to-date or by upgrading to .NET Framework 4.5.1. Alternatively, application code using xref:System.Windows.Input.ICommand?displayProperty=name can be modified to make sure that the sender when raising a xref:System.Windows.Input.ICommand.CanExecuteChanged?displayProperty=name command is the same as the object raising the event.
E:System.Windows.Input.ICommand.CanExecuteChanged
Windows Presentation Foundation (WPF)