How to distinguish DockableContent Close vs Unloaded(Dragged out)

Dec 4, 2009 at 9:22 AM

I want to be able to have 2 different handlers for:

1.When i click "x" on DockableContent.

2.When i drag it out of container to be floating.

Right now i`ve found only one event Unloaded that is fired in both cases.

What i want by this is to intercept Closing of dockable window.

Thank you.