Click here to Skip to main content
15,911,646 members
Home / Discussions / WPF
   

WPF

 
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 
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 
Ok, so I have posted an image of a prototype of my app here

The blue area is the MainWindow with a data context called MainWindowViewModel. The red is the WelcomeView with a data context called WelcomeViewModel.

I want to replace the WelcomeView model with other "inner" views during runtime. Notice that the toolbar and menu are both on the MainWindowView and their commands are bound to properties in the MainWindowViewModel.

So when the WelcomeView, or some other inner view's data changes, I want the Save button and menu bar on the MainWindow to become enabled.

So, I need to have some way of the 2 viewmodels to "talk" to each other.

Hope this helps

Thanks
Everything makes sense in someone's mind

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 
QuestionRe: Re-validating DataGrid after programmaticallychanging row source Pin
Mark Salsbery19-Oct-11 6:54
Mark Salsbery19-Oct-11 6:54 
AnswerRe: Re-validating DataGrid after programmaticallychanging row source Pin
jchalfant20-Oct-11 5:02
jchalfant20-Oct-11 5:02 
GeneralRe: Re-validating DataGrid after programmaticallychanging row source Pin
Mark Salsbery20-Oct-11 5:55
Mark Salsbery20-Oct-11 5:55 
GeneralRe: Re-validating DataGrid after programmaticallychanging row source Pin
jchalfant20-Oct-11 8:45
jchalfant20-Oct-11 8:45 
Questionribbon tool bar Pin
transoft18-Oct-11 5:13
transoft18-Oct-11 5:13 
AnswerRe: ribbon tool bar Pin
SledgeHammer0118-Oct-11 5:18
SledgeHammer0118-Oct-11 5:18 

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.