tags:

views:

23

answers:

0

Here is the XAML markup. I'm trying to make by default "tools" pane hidden. I've seen in the tutorial something like this : Command="ad:DockableContentCommands.ToggleAutoHide".

       <ad:DockingManager Name="dockingManager">
        <ad:ResizingPanel Orientation="Horizontal" >

            <ad:ResizingPanel Orientation="Vertical">
                <ad:DockablePane>
                    <ad:DockableContent Title="Events">
                        ....
                    </ad:DockableContent>
                </ad:DockablePane>
            </ad:ResizingPanel>

            <ad:ResizingPanel Orientation="Horizontal" >
                <ad:DockablePane Name="tools" >
                    <ad:DockableContent Name ="search" > ... </ad:DockableContent>
                    <ad:DockableContent Name ="results" > ... </ad:DockableContent>
                </ad:DockablePane>
            </ad:ResizingPanel>

        </ad:ResizingPanel>
    </ad:DockingManager>

how to hide/toggle by default a DockingPane in markup or code ?

Thanks RR