How to use DockableStyle?

Sep 29, 2010 at 7:12 AM

I want a Dockable content to have its DockableStyle set to "AutoHide" at startup but I can't get it to work. I tried the "Sample1" application and modified a piece of the XAML like below:

<ad:DockingManager Name="dockingManager" Margin="0,28,0,0">
            <ad:ResizingPanel Orientation="Vertical">
                <ad:DocumentPane>
                   
                </ad:DocumentPane>
                <ad:DockablePane >
                    <my:StatisticsPane DockableStyle="AutoHide"/>
                </ad:DockablePane>
            </ad:ResizingPanel>
        </ad:DockingManager>

When running the application however, this does not cause the dockable content to be hidden on startup.

How can I achieve that?

Thanks for help!