Click here to Skip to main content
15,894,334 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: WPF App Design Thoughts Pin
Kevin Marois20-Jun-12 9:01
professionalKevin Marois20-Jun-12 9:01 
GeneralRe: WPF App Design Thoughts Pin
Pete O'Hanlon20-Jun-12 9:18
mvePete O'Hanlon20-Jun-12 9:18 
GeneralRe: WPF App Design Thoughts Pin
Ian Shlasko20-Jun-12 9:43
Ian Shlasko20-Jun-12 9:43 
GeneralRe: WPF App Design Thoughts Pin
Pete O'Hanlon20-Jun-12 9:49
mvePete O'Hanlon20-Jun-12 9:49 
GeneralRe: WPF App Design Thoughts Pin
Ian Shlasko20-Jun-12 10:17
Ian Shlasko20-Jun-12 10:17 
GeneralRe: WPF App Design Thoughts Pin
Kevin Marois20-Jun-12 10:29
professionalKevin Marois20-Jun-12 10:29 
GeneralRe: WPF App Design Thoughts Pin
Ian Shlasko20-Jun-12 11:13
Ian Shlasko20-Jun-12 11:13 
GeneralRe: WPF App Design Thoughts Pin
Kevin Marois20-Jun-12 11:20
professionalKevin Marois20-Jun-12 11:20 
I understand that, but Pete pointed me to this[^], and I'm wondering where or how in this design is the data context set?

So, if the content area is defined like this

<ContentPresenter x:Name="MainContent"
                    Grid.Row="2"
                    Grid.Column="0"
                    Content="{Binding MainContent}" />


In the MainWindowViewModel I would then set the MainContent property to the MainContentViewModel. How does the MainContentViewModel.DataContext get set. It won't know about the MainWindowViewModel.

Unless I'm missing something?
If it's not broken, fix it until it is

GeneralRe: WPF App Design Thoughts Pin
Ian Shlasko20-Jun-12 11:46
Ian Shlasko20-Jun-12 11:46 
GeneralRe: WPF App Design Thoughts Pin
Kevin Marois20-Jun-12 11:47
professionalKevin Marois20-Jun-12 11:47 
GeneralRe: WPF App Design Thoughts Pin
Ian Shlasko20-Jun-12 11:55
Ian Shlasko20-Jun-12 11:55 
GeneralRe: WPF App Design Thoughts Pin
kishhr22-Jun-12 8:59
kishhr22-Jun-12 8:59 
QuestionThin Client Compiler ? Pin
W Balboos, GHB19-Jun-12 6:28
W Balboos, GHB19-Jun-12 6:28 
AnswerRe: Thin Client Compiler ? Pin
Eddy Vluggen19-Jun-12 8:55
professionalEddy Vluggen19-Jun-12 8:55 
GeneralRe: Thin Client Compiler ? Pin
W Balboos, GHB19-Jun-12 9:21
W Balboos, GHB19-Jun-12 9:21 
GeneralRe: Thin Client Compiler ? Pin
Eddy Vluggen19-Jun-12 10:24
professionalEddy Vluggen19-Jun-12 10:24 
GeneralRe: Thin Client Compiler ? Pin
W Balboos, GHB20-Jun-12 1:41
W Balboos, GHB20-Jun-12 1:41 
GeneralRe: Thin Client Compiler ? Pin
Eddy Vluggen20-Jun-12 1:54
professionalEddy Vluggen20-Jun-12 1:54 
GeneralRe: Thin Client Compiler ? Pin
W Balboos, GHB20-Jun-12 2:11
W Balboos, GHB20-Jun-12 2:11 
GeneralRe: Thin Client Compiler ? Pin
Eddy Vluggen20-Jun-12 2:30
professionalEddy Vluggen20-Jun-12 2:30 
AnswerRe: Thin Client Compiler ? Pin
jschell19-Jun-12 13:21
jschell19-Jun-12 13:21 
GeneralRe: Thin Client Compiler ? Pin
W Balboos, GHB20-Jun-12 1:46
W Balboos, GHB20-Jun-12 1:46 
AnswerRe: Thin Client Compiler ? Pin
Bernhard Hiller19-Jun-12 20:41
Bernhard Hiller19-Jun-12 20:41 
GeneralRe: Thin Client Compiler ? Pin
W Balboos, GHB20-Jun-12 1:58
W Balboos, GHB20-Jun-12 1:58 
Questionprobleme schema object rational rose Pin
ahmadiss16-Jun-12 5:53
ahmadiss16-Jun-12 5:53 

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.