FloatingWindow has no Close button

Docking/MDI for WPF Forum

Posted 8 years ago by Mark Bonner
Version: 16.1.0635
Platform: .NET 4.5
Environment: Windows 10 (64-bit)
Avatar

When calling DocumentWindow.Float(), the window is successfully floated and a Close button available in the title bar. However on deserializing no Close button is available?

Here is the serialized layout...

<DockSiteLayout xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" SerializationFormat="All" Version="2">
<AutoHideHost />
<Content xsi:type="Workspace">
<Content xsi:type="TabbedMdiHost">
<Content xsi:type="TabbedMdiContainer" SelectedWindowUniqueId="f5150f47-c5bf-40e4-8ed3-8498272f6aa6">
<UIElement xsi:type="DocumentWindowRef" UniqueId="f5150f47-c5bf-40e4-8ed3-8498272f6aa6" />
</Content>
</Content>
</Content>
<DocumentWindows>
<DocumentWindow UniqueId="afddf977-46c0-4f61-a57a-05643471123c" SerializationId="Page8ee4d41e079b445eade0d8b8be2ad36c" IsOpen="true" State="Document" />
<DocumentWindow UniqueId="f5150f47-c5bf-40e4-8ed3-8498272f6aa6" SerializationId="Page4554d1528925439cbbda4f60d548eac5" IsOpen="true" State="Document" />
</DocumentWindows>
<RaftingHosts>
<RaftingHost UniqueId="a2ee4274-dd49-484d-a3b7-efacb712ab9c" IsMaximized="true" Location="1672,-8" Size="1678,933">
<AutoHideHost />
<Content xsi:type="Workspace">
<Content xsi:type="TabbedMdiHost">
<Content xsi:type="TabbedMdiContainer" SelectedWindowUniqueId="afddf977-46c0-4f61-a57a-05643471123c">
<UIElement xsi:type="DocumentWindowRef" UniqueId="afddf977-46c0-4f61-a57a-05643471123c" />
</Content>
</Content>
</Content>
</RaftingHost>
</RaftingHosts>
</DockSiteLayout>

Comments (1)

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

Hi Mark,

I adjusted our Layout Serialization QuickStart to allow floating documents and tested saving and restoring a layout there and didn't see the described problem happening.  If you think there is a bug, please make a new very simple sample project that shows it and email that to our support address.  Reference this thread in your email and be sure to rename the .zip file extension of what you send so it doesn't get spam blocked.  Thanks!


Actipro Software Support

The latest build of this product (v24.1.3) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.