Click here to Skip to main content
15,892,059 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
QuestionWPF App Design Thoughts Pin
Kevin Marois20-Jun-12 7:58
professionalKevin Marois20-Jun-12 7:58 
AnswerRe: WPF App Design Thoughts Pin
Ian Shlasko20-Jun-12 8:06
Ian Shlasko20-Jun-12 8:06 
GeneralRe: WPF App Design Thoughts Pin
Kevin Marois20-Jun-12 8:29
professionalKevin Marois20-Jun-12 8:29 
GeneralRe: WPF App Design Thoughts Pin
Pete O'Hanlon20-Jun-12 8:40
mvePete O'Hanlon20-Jun-12 8:40 
GeneralRe: WPF App Design Thoughts Pin
Kevin Marois20-Jun-12 8:45
professionalKevin Marois20-Jun-12 8:45 
GeneralRe: WPF App Design Thoughts Pin
Pete O'Hanlon20-Jun-12 8:56
mvePete O'Hanlon20-Jun-12 8:56 
GeneralRe: WPF App Design Thoughts Pin
Kevin Marois20-Jun-12 8:59
professionalKevin Marois20-Jun-12 8:59 
GeneralRe: WPF App Design Thoughts Pin
Kevin Marois20-Jun-12 9:01
professionalKevin Marois20-Jun-12 9:01 
I'm sort of there on this...

Can you show me how in the MainWindowViewModel this code is used? For example, if the user selects Show All Customers, how does the template above get used/loaded in the MainWindowViewModel?

I saw in his article where it says

"The MainWindowResources.xaml file has a Resource­Dictionary. That dictionary is added to the main window's resource hierarchy, which means that the resources it contains are in the window's resource scope. When a tab item's content is set to a ViewModel object, a typed DataTemplate from this dictionary supplies a view (that is, a user control) to render it"

So the Content is set to a VM, not a View?
If it's not broken, fix it until it is

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 
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 

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.