This project is read-only.

Tracking Floating Windows

Feb 22, 2011 at 7:20 PM

Anyone know of a way to track a dockable pane or documentContent to check when they becoming a floating window and back to a docked window? is there any events I can register for? I have had no luck in doing so.

What I am trying to do is switch the content of the pane based upon the the user's data context (which is a document content tab), which works fine until the pane is undocked. Any help would be much appreciated!

Mar 1, 2011 at 11:26 AM

Hi,

have a look at DockableContent.OnstateChanged. Nothing sibling for DocumentContent ad documents become dockable when becoming floating windows.

Hope it helps !

Bernard from the Sofa team, an AvalonDock wrapper.