Do I have to notify property changed in every function/property in view model for updating tool-bar's button status according to caliburn micro? That doesn't sound good.
Can I have my reflective command back ? or I missed something?
Can I have my reflective command back ? or I missed something?
public void New()
{
// do something
NotifyOfPropertyChange(() => CanFirst);
NotifyOfPropertyChange(() => CanLast);
NotifyOfPropertyChange(() => CanPrevious);
NotifyOfPropertyChange(() => CanNext);
NotifyOfPropertyChange(() => CanNew);
NotifyOfPropertyChange(() => CanUpdate);
NotifyOfPropertyChange(() => CanDelete);
NotifyOfPropertyChange(() => CanSave);
NotifyOfPropertyChange(() => CanActive);
.
.
.
}