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

Custom navigation bar with MasterDetailPage

$
0
0

At present my app uses normal ContentPages inside a NavigationPage which works fine. I have a ControlTemplate for customising the top navigation bar away from the default.
<ContentPage ControlTemplate="{StaticResource MainPageTemplate}"
It seems I am not able to do the same for MasterDetailPage as it appears I can't use a ControlTemplate?
<MasterDetailPage ControlTemplate="{StaticResource MasterDetailTemplate}"

Is there a way to customise the navigation bar for a MasterDetailPage?

Ref: this is the approach that I have used for having a custom navigation bar:
http://lukealderton.com/blog/posts/2017/january/replacing-the-xamarin-headernavigation-bar-with-a-custom-viewtemplate/``


Viewing all articles
Browse latest Browse all 91519

Trending Articles



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