I am trying to show buttons on top of a SwapChainPanel and tried it like this:
<Grid>
<SwapChainPanel Name="SwapChainPanel" Loaded="OnSwapPanelLoaded" Unloaded="OnSwapChainPanelUnloaded"/>
<Button Content="Test"/>
</Grid>
However, as soon as I add the Button, the SwapChainPanel is not rendered anymore, just the Button. When I put the button above the Panel, only the Panel gets rendered.
Is there a workaround or other way to do this? Seems like a context menu works just fine over the SwapChainPanel.