mvvmlight
mvvmlight copied to clipboard
PropertyChanged not being called on async methods when switching to commandwpf
Versions: MvvmLightLibs 5.3.0, .NET Framework 4.6.1
This is a WPF App using .NET.
The Issue We use a dispatcher on async methods to change a property's value and have it updated on the UI thread. This works when we use using GalaSoft.MvvmLight.Command but breaks when switch to using GalaSoft.MvvmLight.CommandWpf. We had to switch to CommandWpf to get the CanExecute working correctly.
Properties that were binded to user controls (like changing the status text) no longer work.
App.Current.Dispatcher.Invoke(new Action(() => this.MyProperty= true));