public App() { FixParams.ChangeAspectSize(); HomePage = new FirstPage(); MainPage = new NavigationPage(HomePage); MainPage.SetValue(NavigationPage.BarBackgroundColorProperty, FixParams.PanelColor); MainPage.SetValue(NavigationPage.BarTextColorProperty, FixParams.FontColor); }