I wrote this, but it seems not working.
public class App
{
public static Page GetMainPage ()
{
var masterPage = new MasterPage ();
var navigationPage = new NavigationPage (masterPage);
navigationPage.BackgroundColor = Color.Red;
return navigationPage;
}
}