MVVM User control - where do i declare it to get data from page ?

Posted by Anish on Stack Overflow See other posts from Stack Overflow or by Anish
Published on 2010-05-25T08:52:13Z Indexed on 2010/05/25 10:51 UTC
Read the original article Hit count: 163

Filed under:
|
|
|

I have a WPF user control ...which is in MVVM. The user control(which contains a listview) need data from the page (where it is included). I have to set a property in View's code behind to get this data input. Will this comply with MVVM(But MVVM pattern do not support adding code in code behind file of view as far as i know).if not, what is the way for the same?

© Stack Overflow or respective owner

Related posts about mvvm

Related posts about property