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