When ToolWindow State is AutoHide, how can make it slide up

Docking/MDI for WPF Forum

Posted 13 years ago by Hamid Noorbakhsh
Avatar
I have a ToolWindow that is in AutoHide state and when messages arrive, I want to slide it up, show the window and want it to go back to the AutoHide state. Basically as though someone mouseovered the tab and the took it off.
How can I do this?

[Modified at 08/26/2011 12:05 PM]

Comments (6)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Hamid,

The closest thing would be to call the Activate method on the ToolWindow, which will cause it to fly-out. The ToolWindow will not automatically close though.


Actipro Software Support

Posted 13 years ago by Hamid Noorbakhsh
Avatar
Anyway of closing it from code?

Also I have CanDockLeft="False" CanDockRight="False" CanDockTop="False" and it still slides from left side, eventhough it is on the bottom?

[Modified at 08/26/2011 03:45 PM]
Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Hamid,

Yes, you can call the DockSite.AutoHideHost.Deactivate method, possibly passing true to force it closed.


Actipro Software Support

Posted 13 years ago by Hamid Noorbakhsh
Avatar
Thanks, I also edited above, but you answered too fast.
I have CanDockLeft="False" CanDockRight="False" CanDockTop="False" but slides from left side still when its docked at bottom?

I think it was a fluke, it works fine now.

[Modified at 08/26/2011 03:54 PM]
Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Hamid,

I'm not sure what you mean. If you can please put together a small sample project that reproduces your issue and email it over then we can take a closer look. Be sure to remove any executables or change the extension of the zip file to ensure it gets past our email filters.


Actipro Software Support

Posted 13 years ago by Hamid Noorbakhsh
Avatar
Just a fluke, it would slide from left side and moved there when I had it docked to bottom, but now it works fine. Weird. So no problem now.

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

Add Comment

Please log in to a validated account to post comments.