CodePlexProject Hosting for Open Source Software
Does anybody know a best practice to close a view in MVVM pattern keeping a code-behind empty.?
Take a look at this article here,
http://blogs.msdn.com/vinsibal/archive/2009/04/10/launching-a-custom-dialog-to-edit-items-in-a-datagrid-with-mvvm.aspx or this one here
http://msdn.microsoft.com/en-us/magazine/dd419663.aspx. That should give you an idea of how to close a view using MVVM.
An alternative approach is shown in the ViewModel sample of the WPF Application Framework (WAF).
Are you sure you want to delete this post? You will not be able to recover it later.
Are you sure you want to delete this thread? You will not be able to recover it later.