Closing Event in DockableContent

Apr 15, 2009 at 10:26 AM
Hi,

First and foremost I must congratulate you on your excellent work. Great control, superb support and whatnot :D

I want to use this control in my project and I am in the planning stage right now. I have stumbled upon a problem. I am creating DockableContents (with my usercontrols as its contents) programmatically and adding it to a DockablePane's Items container. When I'm closing a DockableContent, I need it to fire a "Closing" or "Closed" event.

If I'm not mistaken, there are Closing/Closed event in DocumentContents and DockingManagers. What should I do to add a "Closing" or "Closed" event in the DockableContents?

Thank you