Skip to main content

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
3,555 times
Add to favorites
E-mail Twitter Digg Facebook
Click an item in the panel on the left to view the contents here.