Problem with restoring layout

Docking/MDI for WPF Forum

Posted 7 years ago by Dariusz Wąsacz
Version: 12.1.0560
Platform: .NET 4.0
Environment: Windows 7 (64-bit)
Avatar

In my project I have only ToolWindows - I don't use DocumentWindows. All the windows are added programatically. In the xaml I declare only the main workspace (see below) and I want to have layout loaded from a separate file.

The problems is:

The windows which are docked into the main workspace ("mainContainer") don't invoke WindowOpened event. They are shown correctly, but no event is invoked, so I cannot i.e. setup my Windows menu (to show which are open, and which are not)

 

My xaml declaration:

<docking:DockSite x:Name="DockManager"
x:FieldModifier="public">
<docking:Workspace>
<docking:TabbedMdiHost x:Name="tabbedMdiHost">
<docking:TabbedMdiContainer x:Name="mainContainer">
</docking:TabbedMdiContainer>
</docking:TabbedMdiHost>
</docking:Workspace>
</docking:DockSite>

Comments (1)

Answer - Posted 7 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Dariusz,

Thanks for the bug report.  We've fixed this for the next maintenance release.


Actipro Software Support

The latest build of this product (v2019.1 build 0681) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.