How to make act AutoHideContainers like Visual Studio?

Docking/MDI for WPF Forum

Posted 14 years ago by Ivan Delete
Version: 9.2.0515
Avatar
Hello,
I cant figure out how to make tool windows in AutoHideLeftContainers arrange vertical like Solution Explorer and Properties in Visual Studio. The containers are arranged horizontally in current state.
My code:
    
        <docking:DockSite.AutoHideLeftContainers>
        <docking:ToolWindowContainer>
                <docking:ToolWindow x:Name="TW01" Title="Tool Window 1" />
        </docking:ToolWindowContainer>
            <docking:ToolWindowContainer>
                <docking:ToolWindow x:Name="TW02" Title="Tool Window 2" />
            </docking:ToolWindowContainer>
        </docking:DockSite.AutoHideLeftContainers>
Any ideas, how to do that?

Comments (1)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Ivan,

It sounds like you probably don't want those tool windows to be auto-hidden. Our main Docking demo shows the XAML needed to create a layout very much like Visual Studio. Check that out or even the 'Fixed Tool Window QuickStart' if you want simpler XAML to look at.

Note that auto-hidden tool windows will be collapsed at startup on the side of the host window and only their tabs will show. "Docked" tool windows will be similar to what Solution Explorer and Properties in VS look like by default.


Actipro Software Support

The latest build of this product (v24.1.3) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.