Move Toolbar to the bottom in UWP with PlatformConfiguration (Xamarin.Forms 2.3.3) -


trying out new platformconfiguration in xamarin.forms 2.3.3.166-pre4 moving toolbar bottom on uwp doesn't want work. doing wrong?

using xamarin.forms; using xamarin.forms.platformconfiguration; using xamarin.forms.platformconfiguration.windowsspecific;  namespace formstoolbardemo {     public partial class mainpage:contentpage     {         public mainpage()         {             initializecomponent();             this.on<windows>().settoolbarplacement(toolbarplacement.bottom);         }     } } 

alright, after trying every possible combination of settoolbarplacement(toolbarplacement.bottom), found out few things:

  • toolbar placement can set application wide, not per page
  • toolbar placement can set on navigationpage

so can do, when want place toolbar @ bottom, can set application wide attaching toolbar placement app classes mainpage property.

public app() {     mainpage = new navigationpage(new mainpage());     mainpage.on<windows>().settoolbarplacement(toolbarplacement.bottom); } 

Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -