DockSite does not provide events to notify the layout was changed

Docking/MDI for WPF Forum

Posted 7 years ago by Sergey Masyura
Version: 11.2.0553
Avatar

Hey,

 

I'm developing the layout auto-saving feature for my product, so I need to know if the layout was changed. But the problem is it seems the DockSite does not provide the LayoutChanged event. I can have up to 10 docksites running at the same time, so the saving of the layout using the timer leads to the poor perfomance of the UI thread.

 

Is there any way to know the layout was changed?

 

Thanks in advance,

Sergey

Comments (2)

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

Hi Sergey,

Sorry, but we don't currently have an single event like that, but you may be able to use the DockSite.LayoutUpdated event for most things. You would also need to subscribe to RaftingWindow events for location and size changes, if you want to restore floating windows. I've added this forum post to the TODO item for that feature request so you will be notified when it is completed.


Actipro Software Support

Posted 7 years ago by Sergey Masyura
Avatar

Thank you for the help.

 

Regads,

Sergey

The latest build of this product (v2019.1 build 0681) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.