Initial state of a tool window to Docked

Docking/MDI for WPF Forum

Posted 9 years ago by Eric Ouellet - Developper, Institut de recherche d'Hydro-Québec
Version: 11.1.0541
Avatar
How can we load a window with docking with a tool window with its initial state to "Docked".

I look at "DockingWindowState" but I can't find it in the property window in design mode.

Does anyone know how to ? Is it possible ?

Eric Ouellet

Comments (2)

Posted 9 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Eric,

Our Sample Browser, specifically the Features demo, includes several examples of how to define ToolWindows, including docked, auto-hidden, and initially-closed. Effectively, you include one or more ToolWindows in a ToolWindowContainer, which is in turn in a SplitContainer, etc.

The Programmatic Creation QuickStart shows how a ToolWindow can be created and docked in code-behind. Effectively, you need to call the ToolWindow.Dock method, and optionally specify a "target" and dock direction.


Actipro Software Support

Posted 9 years ago by Eric Ouellet - Developper, Institut de recherche d'Hydro-Québec
Avatar
Thanks for your feedback.

I wanted to show the toolbox as hidden and found it.
I'm using .AutoHide() in InitializeComponent().

Thanks
Eric

[Modified at 02/21/2011 10:55 AM]

[Modified at 02/21/2011 10:56 AM]

Eric Ouellet

The latest build of this product (v2019.1 build 0684) was released 16 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.