wpftoolkit
wpftoolkit copied to clipboard
Dock failed
This problem occurred in version 4.4.0/4.5.0, while 4.3.0 is ok.
When Avalondock ->DockingManager ->LayoutDocumentPane has only one tab (important), drag the tab out to become a separate window, and then drag and drop the tab dock back to the LayoutDocumentPane area. The dock icon is not displayed, so you cannot dock. Version 4.3.0 does not have this problem. This is disastrous.(MT)
这个问题发生在版本4.4.0/4.5.0,而4.3.0是ok的。 当Avalondock->DockingManager->LayoutDocumentPane里面仅存在一个标签页(重要)时,将标签页拖出来变成单独窗口,然后想拖放标签页dock回到LayoutDocumentPane区域时,不显示停靠图标,因此无法dock。版本4.3.0则不存在这个问题。这是灾难性的。
Hello, Thank you for reporting this. We will have a look and get back to you.
How exactly do you define your DockingManager and LayoutDocumentPane ?
Here's a sample that works normally in v4.5:
<xcad:DockingManager x:Name="_dockingManager"> <xcad:LayoutRoot x:Name="_layoutRoot"> <xcad:LayoutPanel Orientation="Horizontal"> <xcad:LayoutDocumentPane> <xcad:LayoutDocument ContentId="document1" Title="Document 1"> <Button Content="Document 1 Content" HorizontalAlignment="Center" VerticalAlignment="Center" /> </xcad:LayoutDocument> </xcad:LayoutDocumentPane> </xcad:LayoutPanel> </xcad:LayoutRoot> </xcad:DockingManager>
I can drag the Pane out as a new Window, and drop it back in the DockingManager. Thank you.