Need to be notified when a docking window is floated or docked back.

Docking/MDI for WPF Forum

Posted 8 years ago by Alexandre Grégoire
Version: 16.1.0633
Avatar

Hello, Actipro People!

I know that the Floating value was removed from the DockingWindowState enumeration recently, thus I can't hook to the floating state change anymore. What I ended up doing is casting the DockSite.FloatingDockHosts collection to an INotifyCollectionChanged and hooking onto its CollectionChanged event. This way I can check for the "Add" (basically a new floating window) and "Remove" (going back to docked state) actions and do my work on the DockHosts that I want.

Though my question is: is there a cleaner way to hook onto the proverbial float event of a window?

Thank you.

Comments (1)

Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Alexandre,

We don't have anything at the moment for this but could you describe in detail why you need to know when a docking window changes from being in the main DockSite to within a floating DockHost and back?  That would help us better assess the scenario to figure out if something should be added.  Thanks!


Actipro Software Support

The latest build of this product (v24.1.1) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.