Restore a destroyed toolwindow

Docking/MDI for WPF Forum

Posted 15 years ago by Marc Wuergler - ELCA Informatique SA
Version: 4.5.0481
Avatar
I have a docksite with a tool window declared in xaml.

Later on, I destroy it programmatically. What happens to it? I still have access to it in my code (it is not null), but I cannot reactivate it.

Do I have to create a new instance, or can I register it again with the docksite? And how can I check if the tool window is destroyed or not?

Thanks for your help.

Marc Wuergler

Comments (1)

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

I think it just closes it and removes it from the DockSite's registry. But as soon as you dock it back within the DockSite hierarchy, I believe it will attach itself again.

To know if it's attached you can see if it is in the DockSite.ToolWindows collection or not.


Actipro Software Support

The latest build of this product (v24.1.1) 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.