Click here to Skip to main content
15,926,507 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Let user adjust control size Pin
Wayne Gaylard24-Oct-11 22:05
professionalWayne Gaylard24-Oct-11 22:05 
QuestionWPF Hyperlink Question Pin
Kevin Marois24-Oct-11 9:51
professionalKevin Marois24-Oct-11 9:51 
GeneralRe: WPF Hyperlink Question Pin
Kevin Marois24-Oct-11 10:15
professionalKevin Marois24-Oct-11 10:15 
AnswerRe: WPF Hyperlink Question Pin
SledgeHammer0124-Oct-11 10:11
SledgeHammer0124-Oct-11 10:11 
GeneralRe: WPF Hyperlink Question Pin
Kevin Marois24-Oct-11 10:16
professionalKevin Marois24-Oct-11 10:16 
GeneralRe: WPF Hyperlink Question Pin
SledgeHammer0124-Oct-11 10:19
SledgeHammer0124-Oct-11 10:19 
GeneralRe: WPF Hyperlink Question Pin
Kevin Marois24-Oct-11 10:25
professionalKevin Marois24-Oct-11 10:25 
GeneralRe: WPF Hyperlink Question Pin
Kevin Marois25-Oct-11 6:18
professionalKevin Marois25-Oct-11 6:18 
QuestionWPF Data Template Question Pin
Kevin Marois24-Oct-11 7:37
professionalKevin Marois24-Oct-11 7:37 
AnswerRe: WPF Data Template Question Pin
SledgeHammer0124-Oct-11 8:27
SledgeHammer0124-Oct-11 8:27 
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 
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 

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.