AutoHide when out of focus

Docking/MDI for WPF Forum

Posted 10 months ago by Yuki Abe
Version: 23.1.2
Avatar

Hello
I would like to fix the auto-hide behavior of the Dock as follows:

1. Expand the auto-hide tool window
2. Select another window to defocus

Result: Expanded tool windows are hidden
Fix: I want to keep it extended

In terms of movement, I would like it to be similar to Visual Studio.
Isn't there an option somewhere to achieve this?

Comments (4)

Posted 10 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

If I understand your request correctly, you want to show an auto-hidden tool window, but then click in another tool window and have the auto-hidden tool window remain open?  Auto-hidden tool windows close their popup when focus moves to another docking window, which is by design and should generally be the same as what Visual Studio does.

If I am misunderstanding, please tell us how to reproduce the problem in our product and give steps to show an example of alternate desired behavior in Visual Studio.  Thanks!


Actipro Software Support

Posted 10 months ago by Yuki Abe
Avatar

Hello

Thanks for the reply.


Ideally, if the tool window is expanded in an application that uses Actipro, and the application becomes inactive by selecting another window or desktop, the deployed tool window of the application will remain expanded.
I would like to maintain the specification of selectively hiding tool or document windows within the same application.

Here are the steps to follow when using Visual Studio:
1. Auto-hide Visual Studio Solution Explorer
2. Expand Solution Explorer
3. Click Desktop or File Explorer to deactivate Visual Studio.
Result: Solution Explorer expanded in Visual Studio remains visible.

Answer - Posted 10 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

We have a DockSite.AutoHidePopupClosesOnLostFocus property you can set to false to prevent the auto-hide popup from closing when focus is lost, which is the case when another app is activated.


Actipro Software Support

Posted 10 months ago by Yuki Abe
Avatar

Thank you very much.
It worked well with the properties you presented.

The latest build of this product (v24.1.2) was released 8 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.