This project is read-only.

Notify ActionView of model changes

Aug 9, 2015 at 4:11 PM
I have this ViewAction
AddEditItem = new ViewAction(execute: AddEdit, canExecute: CanAddEdit);
In CanAddEdit I check some of the properties to enable or disable the action.

I tried NotifyChanged("AddEditItem "); in the setter of properties, but the action is disabled forever as it doesn't get notified of its enable-disable updates.

How can I do that?
Aug 9, 2015 at 4:21 PM
Found it in Tips Using CanExecute on ViewActions

I hope the Tips list gets longer and longer :-)
Marked as answer by mafshin89 on 8/9/2015 at 8:22 AM