Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Setting shadow on detail page in MasterDetailPage

$
0
0

I am trying to recreate this UI.

Screenshot

I'm using a MasterDetailPage. In the existing app the background of the master page and the detail page are white. To separate them, the detail page has a shadow around it.

The detail page also needs to be a NavigationPage.

I noticed the Frame has a HasShadow property.

If I make my detail page a ContentPage with a Frame I can get the shadow effect. However, I can't put a NavigationPage as a child of a Frame.

If I make my detail page a NavigationPage, any Frame in it doesn't also surround the titlebar.

Any suggestions?


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>