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 -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -