AutoHide Windows

Docking/MDI for WPF Forum

Posted 16 years ago by FinallyInSeattle
Version: 4.5.0485
Avatar
I have an autohide window (Dock=Bottom) with CanClose set to true that displays search results. The search logic performs an Activate() on this window when a new search is executed so, if the user has closed the window, it re-opens. The issue is that, when it reopens, the window's state is Docked instead of AutoHide even though it's state was AutoHide when it was closed. I've tried every combination of Open() & Activate() calls that I can think of to try to get a closed window to open in the EXACT same state as when it was closed.

Can you offer some suggestions? Thanks in advance.

Comments (2)

Posted 16 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Can you make a simple sample project showing this and email it over to our support address? Thanks!


Actipro Software Support

Posted 16 years ago by Anurodh Ora
Avatar
Hi,

Try with the following when you are activating tool window...

toolWindow.Dock(originalToolWindow, direction);

For more information see the OnProgrammaticDockToToolWindowButtonClick() in
MainControl.xaml.cs in Programmative Creation Folder of Docking Samples.

Hope this will help you.

Thanks

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