Window Close Attached Property Demo

This sample demonstrates a simple technique for allowing the ViewModel to manage the closing events of the View in a Model-View-ViewModel application by using an attached property in your View (Window) bound to an ICommand in the ViewModel.

C# (46.6 KB)
 
 
 
 
 
5 Star
(1)
3,465 times
Add to favorites
2/22/2011
E-mail Twitter del.icio.us Digg Facebook