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

c# SetCompatibleTextRenderingDefault must be called before the first -

C#.NET Oracle.ManagedDataAccess ConfigSchema.xsd -

c++ - Fill runtime data at compile time with templates -