I have a ContentPage that uses an absolute layout. In that layout, I have a ContentView to show my content, and I overlay another ContentView for popups.
Generally, the popup ContentView is not visible. When I want to show a popup, I set the content, set Opacity to 0, set IsVisible to true, then fade it in.
Everything works perfectly.
Now I have a UrhoSurface in my main content, and my popup ContentView is rendered under the UrhoSurface, but above everything else (the Xamarin.Forms controls).
I'm using Xamarin.Forms and a WPF project where I get the UrhoSurface via a custom renderer that returns a Urho.Extensions.Wpf.UrhoSurface.
It seems that the UrhoSurface has an "always on top" attribute set.
The popups work perfectly fine for all other views, it's only when I have a UrhoSurface showing, that it is drawn under the surface.
Is there a setting in WPF or Xamarin.Forms where I can address the Z order?