Open AliFlux opened 6 years ago
有点难
You could try using the DockingManager's properties and methods:
...but this still leaves you with the issue of figuring out what the Windows 10 monitor configuration is and which position is valid or invalid for any given 2 monitor scenario as I just found out in issue 20.
The most natural scenario is to let the user drag the document/tool window to wherever it should be - save the layout and restore it (explizitely or on application close/re-start). This should work with the fix in the referenced issue. Could you test and give feedback if it works for you?
Hi.
Is there a possibility to programmatically move the AvalonDock (
LayoutDocument
orLayoutDocumentPaneGroup
) to second monitor?Thanks.
P.S.
Moving a single window/document to a second screen would be relatively easier, but moving a set of
LayoutDocument
to second screen, creating a sort of new window with those documents, would be restively trickier (as per my conclusion).