DocumentClosing event - which document

Jul 24, 2010 at 12:58 PM


Is it possible to determine which document is closing when the DocumentClosing event is raised?

Note that using DockingManager.ActiveDocument does not work in cases such as "Close All But This".


Thanks, John


Aug 6, 2010 at 9:17 AM

Hi John,

you should probably subscribe directly to DocumentContent.Closing event to get the knowleg of documents being closed.


Aug 9, 2010 at 10:57 AM

Thanks for the reply Dima, I will try that.