Hello,
I'd like to change size of floating document window.
I found Limiting Floating Window Initial Sizes in your document, but I want to change the size of opened floating window.
Would you please tell me how to do it?
Best regards,
Hello,
I'd like to change size of floating document window.
I found Limiting Floating Window Initial Sizes in your document, but I want to change the size of opened floating window.
Would you please tell me how to do it?
Best regards,
Hello,
When opening, floating windows will try to match their size to the size of the document window currently in the layout, falling back to the DocumentWindow.ContainerDockedSize if it's not currently open in the layout. If opened via code, the DocumentWindow.Float method has several overloads and some of them let you indicate a specific Size to use.
If you mean you want to set the size after the document window is already open and floating, you'd need to get the DocumentWindow's ancestor WPF Window (could probably call Window.GetWindow(documentWindow) to get the ancestor WPF Window if it's open) and adjust its size.
Please log in to a validated account to post comments.