Click here to Skip to main content
16,008,183 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: WPF Data Template Question Pin
Kevin Marois24-Oct-11 8:30
professionalKevin Marois24-Oct-11 8:30 
GeneralRe: WPF Data Template Question Pin
SledgeHammer0124-Oct-11 8:33
SledgeHammer0124-Oct-11 8:33 
GeneralRe: WPF Data Template Question Pin
Kevin Marois24-Oct-11 8:44
professionalKevin Marois24-Oct-11 8:44 
GeneralRe: WPF Data Template Question Pin
Kevin Marois24-Oct-11 9:09
professionalKevin Marois24-Oct-11 9:09 
QuestionWPF MVVM Nested Views Pin
Kevin Marois21-Oct-11 11:51
professionalKevin Marois21-Oct-11 11:51 
AnswerRe: WPF MVVM Nested Views Pin
SledgeHammer0121-Oct-11 12:05
SledgeHammer0121-Oct-11 12:05 
GeneralRe: WPF MVVM Nested Views Pin
Kevin Marois21-Oct-11 12:14
professionalKevin Marois21-Oct-11 12:14 
GeneralRe: WPF MVVM Nested Views Pin
SledgeHammer0121-Oct-11 12:41
SledgeHammer0121-Oct-11 12:41 
How are you creating the child views? In my apps, I never create the VM directly, I just load the window.xaml and that uses a view locator service to instantiate the VM and wire it up.

Another question is how many properties are going to be changing and how often. If we are talking about 2 or 3 properties that will change 2 or 3 times then my answer would be different then if 50 properties were changing 1000s of times.

With the low prop count / low change count, you can use messenger as I mentioned below.

Also, do you care what property is changing? Or do you just want to know that the view is dirty? etc?

If the parent needs to know whenever 1 of 50 properties change and its new value, etc. I'd probably just have the child view use messenger to send open / close messages so the parent can sub to the INPC events in the child using weak events or something like that.

Again, all depends on how much you need to know about the property that changed and how often they are changing, but I threw out a bunch of options for you Smile | :) .
AnswerRe: WPF MVVM Nested Views Pin
Abhinav S21-Oct-11 18:15
Abhinav S21-Oct-11 18:15 
GeneralRe: WPF MVVM Nested Views Pin
SledgeHammer0122-Oct-11 7:24
SledgeHammer0122-Oct-11 7:24 
AnswerRe: WPF MVVM Nested Views Pin
Pete O'Hanlon24-Oct-11 5:36
mvePete O'Hanlon24-Oct-11 5:36 
GeneralRe: WPF MVVM Nested Views Pin
Pete O'Hanlon24-Oct-11 6:02
mvePete O'Hanlon24-Oct-11 6:02 
GeneralRe: WPF MVVM Nested Views Pin
Kevin Marois24-Oct-11 8:07
professionalKevin Marois24-Oct-11 8:07 
AnswerWPF MVVM Nested Views - Clarification Pin
Kevin Marois24-Oct-11 8:06
professionalKevin Marois24-Oct-11 8:06 
GeneralRe: WPF MVVM Nested Views - Clarification Pin
SledgeHammer0124-Oct-11 8:23
SledgeHammer0124-Oct-11 8:23 
GeneralRe: WPF MVVM Nested Views - Clarification Pin
Kevin Marois24-Oct-11 8:48
professionalKevin Marois24-Oct-11 8:48 
GeneralRe: WPF MVVM Nested Views - Clarification Pin
SledgeHammer0124-Oct-11 8:55
SledgeHammer0124-Oct-11 8:55 
GeneralRe: WPF MVVM Nested Views - Clarification Pin
Kevin Marois24-Oct-11 8:58
professionalKevin Marois24-Oct-11 8:58 
GeneralRe: WPF MVVM Nested Views - Clarification Pin
SledgeHammer0124-Oct-11 9:10
SledgeHammer0124-Oct-11 9:10 
GeneralRe: WPF MVVM Nested Views - Clarification Pin
Kevin Marois25-Oct-11 6:30
professionalKevin Marois25-Oct-11 6:30 
GeneralRe: WPF MVVM Nested Views - Clarification Pin
SledgeHammer0125-Oct-11 6:37
SledgeHammer0125-Oct-11 6:37 
QuestionWPF Dynamic Content Pin
Kevin Marois20-Oct-11 11:56
professionalKevin Marois20-Oct-11 11:56 
AnswerRe: WPF Dynamic Content Pin
SledgeHammer0120-Oct-11 13:27
SledgeHammer0120-Oct-11 13:27 
GeneralRe: WPF Dynamic Content Pin
Kevin Marois20-Oct-11 14:00
professionalKevin Marois20-Oct-11 14:00 
QuestionRe-validating DataGrid after programmaticallychanging row source Pin
jchalfant18-Oct-11 7:50
jchalfant18-Oct-11 7:50 

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.