Click here to Skip to main content
15,890,438 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: defining a grid row within a grid column, wpf, c# Pin
Sutton Mehaffey13-Mar-12 2:52
Sutton Mehaffey13-Mar-12 2:52 
GeneralRe: defining a grid row within a grid column, wpf, c# Pin
Pete O'Hanlon13-Mar-12 3:11
mvePete O'Hanlon13-Mar-12 3:11 
QuestionSliver light Pin
mehul_porject11-Mar-12 19:32
mehul_porject11-Mar-12 19:32 
AnswerRe: Sliver light Pin
Abhinav S11-Mar-12 19:56
Abhinav S11-Mar-12 19:56 
QuestionMVVM Master-Details project Pin
Geysser10-Mar-12 23:41
Geysser10-Mar-12 23:41 
AnswerRe: MVVM Master-Details project Pin
Abhinav S11-Mar-12 19:57
Abhinav S11-Mar-12 19:57 
AnswerRe: MVVM Master-Details project Pin
Mycroft Holmes11-Mar-12 21:21
professionalMycroft Holmes11-Mar-12 21:21 
GeneralRe: MVVM Master-Details project Pin
Geysser11-Mar-12 23:28
Geysser11-Mar-12 23:28 
GeneralRe: MVVM Master-Details project Pin
Mycroft Holmes12-Mar-12 1:07
professionalMycroft Holmes12-Mar-12 1:07 
GeneralRe: MVVM Master-Details project Pin
Geysser12-Mar-12 2:43
Geysser12-Mar-12 2:43 
GeneralRe: MVVM Master-Details project Pin
Pete O'Hanlon12-Mar-12 1:23
mvePete O'Hanlon12-Mar-12 1:23 
Questionmerge different pieces of a wmv files Pin
bruno.picardi10-Mar-12 9:00
bruno.picardi10-Mar-12 9:00 
QuestionUserControl Template Pin
michaelgr110-Mar-12 0:52
michaelgr110-Mar-12 0:52 
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 

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.