public App() { // The root page of your application // MainPage = new ContentPage { // Content = new StackLayout { // VerticalOptions = LayoutOptions.Center, // Children = { // new Label { // XAlign = TextAlignment.Center, // Text = "Welcome to Xamarin Forms!" // } // } // } // }; MainPage = new MainContent(); }
public App () { // The root page of your application // MainPage = new ContentPage { // Content = new StackLayout { // VerticalOptions = LayoutOptions.Center, // Children = { // new Label { // XAlign = TextAlignment.Center, // Text = "Welcome to Xamarin Forms!" // } // } // } // }; MainPage = new MainContent(); }