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

NavigationPage and ToolbarItems

$
0
0

I've been trying to get a couple of Forms pages set up under Android (for the moment, iOS to follow). The main page has a single ToolBarItem that is set to show the second page when clicked. When the toolbar button is clicked, the new page is shown, but the toolbar still shows the ToolBarItems from the first page, even if I call this.ToolbarItems.Clear(). The icons for the pages are also ignored (unless I put a call to NavigationPage.SetTitleIcon(this, this.Icon) in each page's constructor).

Is this expected behaviour?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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