CanExecute returns false, but button is not grayed out

May 31, 2012 at 8:07 AM

When binding an bindableApplicationBarIconButton to a RelayCommand(MVVMLight) with Execute and CanExecute methods, 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 -- http://stackoverflow.com/questions/10808242/binding-bindableapplicationbariconbutton-isenabled-property-to-relaycommand-cane

 

Is this a bug, or what is the background for choosing this implementation?