Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Gala.MVVMLight.RelayCommand's CanExecute not working

$
0
0

Hi there,

Our WPF application uses .Net 4.0 and utilize GalaSoft.MvvmLight.WPF4.dll for binding our button's command to our mvvm's RelayCommand.

Everything works fine until I installed .Net4.5 on my machine. The CanExecute never got called, so all the button initially disabled will never enabled again or the button is initially Enabled will not disabled again.

I cannot make my application use .Net 4.5. So if anyone have a solution for it, please help me!!! Many thanks in advance!!!

Disparated!!!

One more note, I did the same thing in my simple testing project and it is working and the settings are the same for my complicated application as in my testing project. This is making me even more upset, since I have no idea what to do next....

Gordon


Gordon Senior Software Developper



Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>