I'm very new to Csla4.0 and struggling.
When I create a ViewModel:
public class CustomerViewModel : ViewModel<ICustomer>
{
}
I can not bind ICustomer Properties (eg Name) to the Property property of PropertyStatus.
When I change to:
public class CustomerViewModel : ViewModel<Customer>
{
}
everything works fine.
ICustomer is defined:
pubic interface ICustomer : IEditableBusinessObject, ITrackStatus, ISavable, INotifyPropertyChanged
{
string Name{get;set;}
}
Am I missing something? Why does it not work?
Thanks
PropertyStatus isn't designed to work against an interface. Data binding doesn't work against interfaces, and PropertyStatus follows the same pattern as data binding.
Copyright (c) Marimer LLC