This project is read-only.

Commands CanExecute does not gray out applicationbariconbutton


I am using this toolkit along with MVVMLight.
When binding an bindableApplicationBarIconButton to a RelayCommand with Execute and CanExecute, then even though CanExecute returns false, the icon is not grayed out.
It does work, since Execute is not called if the iconButton is pressed while CanExecute returns false, but it is not grayed out.
I've also made a StackOverflow post about this issue with an example --

file attachments


slyer wrote Aug 10, 2012 at 1:10 PM

Hi CHansen,

Many thanks for your patch, I will integrate it asap !!

wrote Aug 10, 2012 at 7:03 PM

CHansen wrote Aug 10, 2012 at 7:03 PM

Hello slyer.

I can see I uploaded the patch wrong, sorry my first patch ommit.
I have attached the correct format (I think)

And you are so very welcome, great work with the toolkit :)

wrote Feb 14, 2013 at 2:56 AM

wrote May 31, 2013 at 5:01 PM