I am using WPF and MVVM Light framework (I am new in using them).
I want to do the following:
The Closing event arguments have a Cancel property that you need to set to true if the user cancels the close. Therefore, your Cleanup() method should return bool and you should assign it to the Cancel property.
Closing
Cancel
true
Cleanup()
bool