Here's the XML markup. I'm trying to hide the "tool" panel by default. Have seen: Command = "Advertisement: Dockable Content Commands Toggle AutoHead"
& Lt; / Advertisement: DockablePane & gt; & Lt; / Advertisement: ResizingPanel & gt; & Lt; Advertisement: Shaping Penile Orientation = "Horizontal" & gt; & Lt; Advertising: DocTable Pen = "Tools" & gt; & Lt; Advertising: DockTable content name = "search" & gt; ... & lt; / Ad: DockTable content & gt; & Lt; Advertising: Dockable Content Name = "Result" & gt; ... & lt; / Ad: DockTable content & gt; & Lt; / Advertisement: DockablePane & gt; & Lt; / Advertisement: ResizingPanel & gt; & Lt; / Advertisement: ResizingPanel & gt; & Lt; / Advertising: DockingManager & gt;
How to hide / toggle the dockingfone in the markup or code
thanks RR
You may have understood this yet, but for others it has worked for me:
XAML:
& Lt; Advertising: Docking Manager loaded = "Dock manager_loaded" & gt; & Lt; ... & gt; & Lt; Advertising: Dockable Content Name = "Docnom" & gt; & Lt; Textblocks text = "something here" /> & Lt; / Advertisement: DockableContent & gt; & Lt; ... & gt;
C #:
Private Wide Doctor Reloaded (Object Sender, Routing Avenger, AGS E) {dockName.ToggleAutoHide (); } Private Zero aButton_Click (Object Sender, RoutedEventArgs e) {dockName.Activate (); }
Comments
Post a Comment