SOLVED Disable Full Window usage

Hello,
is it possible to use the Monogame drawing as a part of the Window (XamlGame), and not full Screen?
I’d like to use XAML to render thinks like healthbars and powerup lists.

I tried to give the SwapChainPanel just the upper half of the window, but it still draws in the whole Window.

Is this intended?

Greetings

Okay solved it:

graphics.IsFullScreen = false;
graphics.PreferredBackBufferWidth = YourSwapChainPanel.ActualWidth;
graphics.PreferredBackBufferHeight = YourSwapChainPanel.ActualHeight;