这是 XAML 标记。我试图默认隐藏“工具”窗格。我在教程中看到过这样的内容: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>
如何在标记或代码中默认隐藏/切换 DockingPane?
谢谢 RR