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

ContentPage.ToolbarItems and NavigationPage.TitleView with UWP project

$
0
0

When I use NavigationPage.TitleView block to set a page title, my toolbar icons in ContentPage.ToolbarItems block are pushed to the Secondary menu. This happens only with UWP project while the Android project behaves as expected.

If, however, I move the UWP ToolBar to the bottom in the Application wide App.xaml.cs with the following

MainPage.On<Windows>().SetToolbarPlacement(ToolbarPlacement.Bottom);

it works as expected, except that the top Toolbar is still there as a blank. However, for consistency, I would like the ToolBar to remain in the Top.

Are NavigationPage.TitleView and ContentPage.ToolbarItems mutually exclusive for UWP project, or am I missing something such as disabling some of the UWP features such as its native CommandBar control?

PS: XF is ver 3.4.0.1008975


Viewing all articles
Browse latest Browse all 77050

Trending Articles