Hi Ado,
Any advice on how the ViewModel can be informed of Tab closing?
Currently I can use DockManager.DocumentClosing, but that needs AvalonDock.DocumentClosingEventArgs to get Document.Content, which means the ViewModel needs a refence to AvalonDock
In fact, each of my Tabs is a ViewModel and View (Caliburn Micro's way) so ideally the close button on each tab should inform it's own ViewModel, so a decision as to which is closing is not needed
thanks
John