WPF/MVVM: Delegating a domain Model collection to a ViewModel
Posted
by msfanboy
on Stack Overflow
See other posts from Stack Overflow
or by msfanboy
Published on 2010-05-25T17:30:44Z
Indexed on
2010/05/25
17:31 UTC
Read the original article
Hit count: 381
A domain model collection (normally a List or IEnumerable) is delegated to a ViewModel.
Thats means my CustomerViewModel has a order collection of type List or IEnumerable.
No change in the list is recognized by the bound control. But with ObservableCollection it is.
This is a problem in the MVVM design pattern.
How do you cope with it?
© Stack Overflow or respective owner