I am using Avalon Dock in a project that’s similar to notepad++ i have the documents as Document content, the problem that im facing is that when a user closes a document content
i want him to get a pop up msg if he/she wants to save the document before closing.
How can i accomplish this?
Thank you in advance.
In the version of AvalonDock I’m using (1.2.2668.0), I can simply define a handler for the Closing event of a DocumentContent.
example for adding a handler to a DocumentContent, I am adding a handler to the Closing event:
The sample handler:
Hope this helps, if not, which version of AvalonDock are you using?
}