I have a dialog window that shows a auto hidden ToolWindow (sets IsOpen, IsActive and IsSelected to true) upon closing of the dialog. However, the ToolWindow is just briefly visible before it is hidden again.
This seems to be because a different control gets focus when the dialog is closed.
When looking through the Actipro WPF Studio documuntation, I found the AutoHidePopupClosesOnLostFocus property that sounded like it would solve the issue. However this didn't seem to do make the ToolWindow behave any different.
What I've done is set AutoHidePopupClosesOnLostFocus to false before opening the dialog, show the hidden ToolWindow, then when the dialog is closed I enable AutoHidePopupClosesOnLostFocus again. I also tried having this property always set to false.
Edit: Btw, I've solved this in a different way now, by activating the ToolWindow after the dialog is closed.
[Modified 11 months ago]