Resize parent window of IDockable Screen

I have a WPF window with a webView inside of it, and I need to be able to resize the parent Dockable screen to fit my application with no need for any resizing, to avoid this behavior:


I would like to resize the parent screen on VC to set initially the ideal size for the window. How can I do that?