Click here to Skip to main content
15,879,535 members
Articles / Desktop Programming / WPF

Closing View from ViewModel

Rate me:
Please Sign up or sign in to vote.
4.75/5 (3 votes)
27 Feb 2013CPOL2 min read 48.1K   1.7K   18  
Lightweight approach to close view from viewmodel command.

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DemoApp", "DemoApp\DemoApp.csproj", "{EDCACF1A-8EB6-4A90-9E17-74AEDC8B870A}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{EDCACF1A-8EB6-4A90-9E17-74AEDC8B870A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{EDCACF1A-8EB6-4A90-9E17-74AEDC8B870A}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{EDCACF1A-8EB6-4A90-9E17-74AEDC8B870A}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{EDCACF1A-8EB6-4A90-9E17-74AEDC8B870A}.Release|Any CPU.Build.0 = Release|Any CPU
	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)


Written By
Software Developer (Senior)
India India
Software Engineer based out in Noida.

Technology skillset – .NET, WPF, WCF, LINQ, XAML.

Started blogging on http://1wpf.wordpress.com/


Stackoverflow Profile -> http://stackoverflow.com/users/649524/tilak

Comments and Discussions