Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

I would like to ask you how to create proper MVVM structure in WPF and what to put to each View, VieModel and Model. I wanted to understand the way to create the MVVM structure, however, after reading the huge amount of guides and forums I'm confused. I was trying to do it with PRISM tutorial - too heavy for me, and with MVVM Light. Next I found Caliburn Micro. Okay, I will try to use one of those but.... I don't understand how can I implement MVVM for my app.

My app have - MainWIndow (using MahhApps) with TitleBar buttons, flyouts, LoginDialog and Dialogs. I have 3 UserControls as a Menu - for Admin, Employee and SPOC. Each is different. Now I have code-behind. For each button, for each textbox, for each save, delete, clear, update method I have code in code-behind.

I'm confused with that cuz it looks like it's simple, but I guess I saw too many tutorials.

Thank you for any suggestions.
Posted

1 solution

You can follow http://msdn.microsoft.com/en-us/magazine/dd419663.aspx[^], one of the best tutorials on the subject.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900