Click here to Skip to main content
12,511,061 members (61,180 online)
Click here to Skip to main content

Stats

1.6M views
50.4K downloads
559 bookmarked
Posted

WPF/MVVM Quick Start Tutorial

, 10 Oct 2012 CPOL
A quick example of MVVM in WPF
MvvmExample
Example1
Properties
Example2
Properties
Example3
Properties
Example4
Properties
Example5
Properties
Example6
Properties
MicroMvvm
Properties
MvvmExample.suo

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Example2", "Example2\Example2.csproj", "{D156C5E9-3879-45DC-8F4B-CC71AD3AED6B}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Example3", "Example3\Example3.csproj", "{EDDA3935-C8BD-41CE-AB74-5E8A761A3EEA}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Example4", "Example4\Example4.csproj", "{F2D2A70B-344C-422D-8089-0759C21FDDCF}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MicroMvvm", "MicroMvvm\MicroMvvm.csproj", "{9EFE6CBD-DF21-436E-9F81-E258BAB0B653}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Example1", "Example1\Example1.csproj", "{6E02EC73-FBF0-4818-A6A1-8CD46C712161}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Example5", "Example5\Example5.csproj", "{CD3EDDE0-CA14-427A-8C66-39605C5EC8D5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Example6", "Example6\Example6.csproj", "{CF76D151-2EA3-4A2D-AEA3-D678633BC4EC}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Debug|Mixed Platforms = Debug|Mixed Platforms
		Debug|x86 = Debug|x86
		Release|Any CPU = Release|Any CPU
		Release|Mixed Platforms = Release|Mixed Platforms
		Release|x86 = Release|x86
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{D156C5E9-3879-45DC-8F4B-CC71AD3AED6B}.Debug|Any CPU.ActiveCfg = Debug|x86
		{D156C5E9-3879-45DC-8F4B-CC71AD3AED6B}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
		{D156C5E9-3879-45DC-8F4B-CC71AD3AED6B}.Debug|Mixed Platforms.Build.0 = Debug|x86
		{D156C5E9-3879-45DC-8F4B-CC71AD3AED6B}.Debug|x86.ActiveCfg = Debug|x86
		{D156C5E9-3879-45DC-8F4B-CC71AD3AED6B}.Debug|x86.Build.0 = Debug|x86
		{D156C5E9-3879-45DC-8F4B-CC71AD3AED6B}.Release|Any CPU.ActiveCfg = Release|x86
		{D156C5E9-3879-45DC-8F4B-CC71AD3AED6B}.Release|Mixed Platforms.ActiveCfg = Release|x86
		{D156C5E9-3879-45DC-8F4B-CC71AD3AED6B}.Release|Mixed Platforms.Build.0 = Release|x86
		{D156C5E9-3879-45DC-8F4B-CC71AD3AED6B}.Release|x86.ActiveCfg = Release|x86
		{D156C5E9-3879-45DC-8F4B-CC71AD3AED6B}.Release|x86.Build.0 = Release|x86
		{EDDA3935-C8BD-41CE-AB74-5E8A761A3EEA}.Debug|Any CPU.ActiveCfg = Debug|x86
		{EDDA3935-C8BD-41CE-AB74-5E8A761A3EEA}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
		{EDDA3935-C8BD-41CE-AB74-5E8A761A3EEA}.Debug|Mixed Platforms.Build.0 = Debug|x86
		{EDDA3935-C8BD-41CE-AB74-5E8A761A3EEA}.Debug|x86.ActiveCfg = Debug|x86
		{EDDA3935-C8BD-41CE-AB74-5E8A761A3EEA}.Debug|x86.Build.0 = Debug|x86
		{EDDA3935-C8BD-41CE-AB74-5E8A761A3EEA}.Release|Any CPU.ActiveCfg = Release|x86
		{EDDA3935-C8BD-41CE-AB74-5E8A761A3EEA}.Release|Mixed Platforms.ActiveCfg = Release|x86
		{EDDA3935-C8BD-41CE-AB74-5E8A761A3EEA}.Release|Mixed Platforms.Build.0 = Release|x86
		{EDDA3935-C8BD-41CE-AB74-5E8A761A3EEA}.Release|x86.ActiveCfg = Release|x86
		{EDDA3935-C8BD-41CE-AB74-5E8A761A3EEA}.Release|x86.Build.0 = Release|x86
		{F2D2A70B-344C-422D-8089-0759C21FDDCF}.Debug|Any CPU.ActiveCfg = Debug|x86
		{F2D2A70B-344C-422D-8089-0759C21FDDCF}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
		{F2D2A70B-344C-422D-8089-0759C21FDDCF}.Debug|Mixed Platforms.Build.0 = Debug|x86
		{F2D2A70B-344C-422D-8089-0759C21FDDCF}.Debug|x86.ActiveCfg = Debug|x86
		{F2D2A70B-344C-422D-8089-0759C21FDDCF}.Debug|x86.Build.0 = Debug|x86
		{F2D2A70B-344C-422D-8089-0759C21FDDCF}.Release|Any CPU.ActiveCfg = Release|x86
		{F2D2A70B-344C-422D-8089-0759C21FDDCF}.Release|Mixed Platforms.ActiveCfg = Release|x86
		{F2D2A70B-344C-422D-8089-0759C21FDDCF}.Release|Mixed Platforms.Build.0 = Release|x86
		{F2D2A70B-344C-422D-8089-0759C21FDDCF}.Release|x86.ActiveCfg = Release|x86
		{F2D2A70B-344C-422D-8089-0759C21FDDCF}.Release|x86.Build.0 = Release|x86
		{9EFE6CBD-DF21-436E-9F81-E258BAB0B653}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{9EFE6CBD-DF21-436E-9F81-E258BAB0B653}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{9EFE6CBD-DF21-436E-9F81-E258BAB0B653}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{9EFE6CBD-DF21-436E-9F81-E258BAB0B653}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{9EFE6CBD-DF21-436E-9F81-E258BAB0B653}.Debug|x86.ActiveCfg = Debug|Any CPU
		{9EFE6CBD-DF21-436E-9F81-E258BAB0B653}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{9EFE6CBD-DF21-436E-9F81-E258BAB0B653}.Release|Any CPU.Build.0 = Release|Any CPU
		{9EFE6CBD-DF21-436E-9F81-E258BAB0B653}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{9EFE6CBD-DF21-436E-9F81-E258BAB0B653}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{9EFE6CBD-DF21-436E-9F81-E258BAB0B653}.Release|x86.ActiveCfg = Release|Any CPU
		{6E02EC73-FBF0-4818-A6A1-8CD46C712161}.Debug|Any CPU.ActiveCfg = Debug|x86
		{6E02EC73-FBF0-4818-A6A1-8CD46C712161}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
		{6E02EC73-FBF0-4818-A6A1-8CD46C712161}.Debug|Mixed Platforms.Build.0 = Debug|x86
		{6E02EC73-FBF0-4818-A6A1-8CD46C712161}.Debug|x86.ActiveCfg = Debug|x86
		{6E02EC73-FBF0-4818-A6A1-8CD46C712161}.Debug|x86.Build.0 = Debug|x86
		{6E02EC73-FBF0-4818-A6A1-8CD46C712161}.Release|Any CPU.ActiveCfg = Release|x86
		{6E02EC73-FBF0-4818-A6A1-8CD46C712161}.Release|Mixed Platforms.ActiveCfg = Release|x86
		{6E02EC73-FBF0-4818-A6A1-8CD46C712161}.Release|Mixed Platforms.Build.0 = Release|x86
		{6E02EC73-FBF0-4818-A6A1-8CD46C712161}.Release|x86.ActiveCfg = Release|x86
		{6E02EC73-FBF0-4818-A6A1-8CD46C712161}.Release|x86.Build.0 = Release|x86
		{CD3EDDE0-CA14-427A-8C66-39605C5EC8D5}.Debug|Any CPU.ActiveCfg = Debug|x86
		{CD3EDDE0-CA14-427A-8C66-39605C5EC8D5}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
		{CD3EDDE0-CA14-427A-8C66-39605C5EC8D5}.Debug|Mixed Platforms.Build.0 = Debug|x86
		{CD3EDDE0-CA14-427A-8C66-39605C5EC8D5}.Debug|x86.ActiveCfg = Debug|x86
		{CD3EDDE0-CA14-427A-8C66-39605C5EC8D5}.Debug|x86.Build.0 = Debug|x86
		{CD3EDDE0-CA14-427A-8C66-39605C5EC8D5}.Release|Any CPU.ActiveCfg = Release|x86
		{CD3EDDE0-CA14-427A-8C66-39605C5EC8D5}.Release|Mixed Platforms.ActiveCfg = Release|x86
		{CD3EDDE0-CA14-427A-8C66-39605C5EC8D5}.Release|Mixed Platforms.Build.0 = Release|x86
		{CD3EDDE0-CA14-427A-8C66-39605C5EC8D5}.Release|x86.ActiveCfg = Release|x86
		{CD3EDDE0-CA14-427A-8C66-39605C5EC8D5}.Release|x86.Build.0 = Release|x86
		{CF76D151-2EA3-4A2D-AEA3-D678633BC4EC}.Debug|Any CPU.ActiveCfg = Debug|x86
		{CF76D151-2EA3-4A2D-AEA3-D678633BC4EC}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
		{CF76D151-2EA3-4A2D-AEA3-D678633BC4EC}.Debug|Mixed Platforms.Build.0 = Debug|x86
		{CF76D151-2EA3-4A2D-AEA3-D678633BC4EC}.Debug|x86.ActiveCfg = Debug|x86
		{CF76D151-2EA3-4A2D-AEA3-D678633BC4EC}.Debug|x86.Build.0 = Debug|x86
		{CF76D151-2EA3-4A2D-AEA3-D678633BC4EC}.Release|Any CPU.ActiveCfg = Release|x86
		{CF76D151-2EA3-4A2D-AEA3-D678633BC4EC}.Release|Mixed Platforms.ActiveCfg = Release|x86
		{CF76D151-2EA3-4A2D-AEA3-D678633BC4EC}.Release|Mixed Platforms.Build.0 = Release|x86
		{CF76D151-2EA3-4A2D-AEA3-D678633BC4EC}.Release|x86.ActiveCfg = Release|x86
		{CF76D151-2EA3-4A2D-AEA3-D678633BC4EC}.Release|x86.Build.0 = Release|x86
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

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

Share

About the Author

Barry Lapthorn
United Kingdom United Kingdom
Jack of all trades.

You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160929.1 | Last Updated 10 Oct 2012
Article Copyright 2011 by Barry Lapthorn
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid