Click here to Skip to main content
15,881,757 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: UserControl Template Pin
Abhinav S10-Mar-12 19:18
Abhinav S10-Mar-12 19:18 
QuestionNext MVVM Discussion Pin
Kevin Marois9-Mar-12 6:39
professionalKevin Marois9-Mar-12 6:39 
AnswerRe: Next MVVM Discussion Pin
Mycroft Holmes9-Mar-12 12:37
professionalMycroft Holmes9-Mar-12 12:37 
GeneralRe: Next MVVM Discussion Pin
Abhinav S10-Mar-12 19:16
Abhinav S10-Mar-12 19:16 
GeneralRe: Next MVVM Discussion Pin
Mycroft Holmes10-Mar-12 21:36
professionalMycroft Holmes10-Mar-12 21:36 
GeneralRe: Next MVVM Discussion Pin
Kevin Marois11-Mar-12 13:54
professionalKevin Marois11-Mar-12 13:54 
GeneralRe: Next MVVM Discussion Pin
Mycroft Holmes11-Mar-12 14:20
professionalMycroft Holmes11-Mar-12 14:20 
AnswerRe: Next MVVM Discussion Pin
Abhinav S10-Mar-12 19:12
Abhinav S10-Mar-12 19:12 
From a purist's perspective, yes, a view model should not know absolutely anything about the view.
Think of this from a unit testing perspective - if you are going to write some tests for your view model and you have reference to the 'view' in that, its going to be that much harder to get around the view and write a test case.

However, I've noticed that while implementing run-time animations etc, I have sometimes failed to have view 'independent' view models.
Very often, I just use the Tree Helper and parse through view controls from within my view model - not the best implementation from the purist perspective. But with animation and 'hey whatever works' in mind, sometimes a deviation from the pattern works better.
QuestionHistory of MVVM Pin
Kevin Marois8-Mar-12 10:19
professionalKevin Marois8-Mar-12 10:19 
AnswerRe: History of MVVM Pin
Pete O'Hanlon8-Mar-12 11:17
mvePete O'Hanlon8-Mar-12 11:17 
GeneralRe: History of MVVM Pin
Colin Eberhardt8-Mar-12 23:04
Colin Eberhardt8-Mar-12 23:04 
GeneralRe: History of MVVM Pin
Pete O'Hanlon8-Mar-12 23:30
mvePete O'Hanlon8-Mar-12 23:30 
GeneralRe: History of MVVM Pin
Colin Eberhardt8-Mar-12 23:38
Colin Eberhardt8-Mar-12 23:38 
GeneralRe: History of MVVM Pin
Pete O'Hanlon8-Mar-12 23:44
mvePete O'Hanlon8-Mar-12 23:44 
GeneralRe: History of MVVM Pin
Colin Eberhardt8-Mar-12 23:50
Colin Eberhardt8-Mar-12 23:50 
GeneralRe: History of MVVM Pin
Pete O'Hanlon9-Mar-12 0:04
mvePete O'Hanlon9-Mar-12 0:04 
GeneralRe: History of MVVM Pin
SledgeHammer019-Mar-12 4:40
SledgeHammer019-Mar-12 4:40 
GeneralRe: History of MVVM Pin
Pete O'Hanlon9-Mar-12 9:23
mvePete O'Hanlon9-Mar-12 9:23 
AnswerRe: History of MVVM Pin
Abhinav S8-Mar-12 19:52
Abhinav S8-Mar-12 19:52 
QuestionAny ideas on MVVM'ing this? Pin
SledgeHammer018-Mar-12 7:25
SledgeHammer018-Mar-12 7:25 
Questioncreating a popup DataGrid inside the ComboBox Pin
Giorgi Nistor6-Mar-12 22:04
Giorgi Nistor6-Mar-12 22:04 
AnswerRe: creating a History listbox control Pin
Abhinav S6-Mar-12 23:01
Abhinav S6-Mar-12 23:01 
GeneralRe: creating a History listbox control Pin
Giorgi Nistor6-Mar-12 23:27
Giorgi Nistor6-Mar-12 23:27 
AnswerRe: creating a History listbox control Pin
Abhinav S6-Mar-12 23:31
Abhinav S6-Mar-12 23:31 
AnswerRe: creating a History listbox control Pin
SledgeHammer017-Mar-12 6:39
SledgeHammer017-Mar-12 6:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.