Click here to Skip to main content
15,896,111 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Page Navigation Using "Silverlight Application" project type Pin
Pete O'Hanlon25-Feb-11 1:22
mvePete O'Hanlon25-Feb-11 1:22 
AnswerRe: Page Navigation Using "Silverlight Application" project type Pin
Sunasara Imdadhusen25-Feb-11 2:37
professionalSunasara Imdadhusen25-Feb-11 2:37 
GeneralRe: Page Navigation Using "Silverlight Application" project type Pin
Pete O'Hanlon25-Feb-11 2:55
mvePete O'Hanlon25-Feb-11 2:55 
GeneralRe: Page Navigation Using "Silverlight Application" project type Pin
Sunasara Imdadhusen25-Feb-11 5:02
professionalSunasara Imdadhusen25-Feb-11 5:02 
GeneralRe: Page Navigation Using "Silverlight Application" project type Pin
Pete O'Hanlon1-Mar-11 6:29
mvePete O'Hanlon1-Mar-11 6:29 
QuestionQuestion about MEFedMVVM Pin
wasimsharp24-Feb-11 5:35
wasimsharp24-Feb-11 5:35 
AnswerRe: Question about MEFedMVVM Pin
Mycroft Holmes24-Feb-11 12:11
professionalMycroft Holmes24-Feb-11 12:11 
AnswerRe: Question about MEFedMVVM Pin
_Maxxx_24-Feb-11 13:19
professional_Maxxx_24-Feb-11 13:19 
Don't know about MEF in particular, but how does it construct all the VMs to put 'inside' your main VM -

The way I would do it (no Framework) would be to have references to each of the child VMs in my main VM (thus your main VM is truly describing the interaction)

The alternative is to use a Controller (or some singleton class) to which every viewModel has a reference, and so can use this to communicate. This allows for better abstraction (e.g. your main VM asks the Controller "save the patient's data, because the Save button command has been raised by my View"
The Controller either has direct access to the various data used by the other VMs, or has access to the other VMs from where it can obtain that data (e.g. VMBloodPressure, give me your data...)
___________________________________________
.\\axxx
(That's an 'M')

GeneralRe: Question about MEFedMVVM Pin
Mycroft Holmes24-Feb-11 14:00
professionalMycroft Holmes24-Feb-11 14:00 
GeneralRe: Question about MEFedMVVM Pin
_Maxxx_24-Feb-11 15:10
professional_Maxxx_24-Feb-11 15:10 
GeneralRe: Question about MEFedMVVM Pin
Mycroft Holmes24-Feb-11 15:55
professionalMycroft Holmes24-Feb-11 15:55 
GeneralRe: Question about MEFedMVVM Pin
_Maxxx_24-Feb-11 17:18
professional_Maxxx_24-Feb-11 17:18 
GeneralRe: Question about MEFedMVVM Pin
wasimsharp24-Feb-11 19:39
wasimsharp24-Feb-11 19:39 
AnswerRe: Question about MEFedMVVM Pin
Pete O'Hanlon24-Feb-11 22:19
mvePete O'Hanlon24-Feb-11 22:19 
GeneralRe: Question about MEFedMVVM Pin
Jammer24-Feb-11 23:14
Jammer24-Feb-11 23:14 
GeneralRe: Question about MEFedMVVM Pin
Pete O'Hanlon24-Feb-11 23:37
mvePete O'Hanlon24-Feb-11 23:37 
GeneralRe: Question about MEFedMVVM Pin
Jammer25-Feb-11 5:07
Jammer25-Feb-11 5:07 
GeneralRe: Question about MEFedMVVM Pin
Pete O'Hanlon25-Feb-11 8:20
mvePete O'Hanlon25-Feb-11 8:20 
GeneralRe: Question about MEFedMVVM Pin
Jammer25-Feb-11 8:27
Jammer25-Feb-11 8:27 
GeneralRe: Question about MEFedMVVM Pin
SledgeHammer0125-Feb-11 9:12
SledgeHammer0125-Feb-11 9:12 
GeneralRe: Question about MEFedMVVM Pin
Jammer5-Mar-11 6:25
Jammer5-Mar-11 6:25 
Questionrefresh after showing page Pin
arkiboys24-Feb-11 2:48
arkiboys24-Feb-11 2:48 
AnswerRe: refresh after showing page Pin
Mycroft Holmes24-Feb-11 12:08
professionalMycroft Holmes24-Feb-11 12:08 
GeneralRe: refresh after showing page Pin
arkiboys24-Feb-11 21:35
arkiboys24-Feb-11 21:35 
QuestionHow to disable the previous dates(date less than today) in a calendar Pin
Rocky2323-Feb-11 21:54
Rocky2323-Feb-11 21:54 

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.