I have a windows phone 8 silverlight application and I'm using MVVM Light RelayCommands bound to the items of a LongListSelector.
The RelayCommands are declared like this
private RelayCommand _goToDetailsCommand;
public RelayCommand GoToDetailsCommand
{
get
{
return _goToDetailsCommand ?? (_goToDetailsCommand = new RelayCommand(ExecuteGoToDetailsCommand, () => !SessionVM.IsLoading));
}
}
My problem is that according to the CanExecute of the RelayCommands the UI is Disabled or Enabled (which is the default behavior). Can I opt out of that behavior and still use the CanExecute of the RelayCommand??