Maximize and restore a docked document

Docking/MDI for WPF Forum

The latest build of this product (v25.1.2) was released 2 months ago, which was before this thread was created.
Posted 4 hours ago by Emilio Lozano
Version: 23.1.4
Avatar

Hello,
In my working solution, several documents can be docked in the same area.
Is it possible to maximize a document and then restore it to its original docked location?

I tried using DockSiteLayoutSerializer, but the result is not correct—the documents are being closed and reopened, which is not the desired behavior.

This is the implementation of the DockPanel

<!-- Main Docking Area -->
<DockPanel Grid.Row="0" >

<docking:DockSite prism:RegionManager.RegionName="{x:Static viewModels:MainWindowViewModel.MainRegionName}"
x:Name="dockSite"
CanDocumentWindowsFloat="True"
>
<docking:Workspace>
<docking:TabbedMdiHost />
</docking:Workspace>
</docking:DockSite>

</DockPanel>

Thanks

Add Comment

Please log in to a validated account to post comments.