Пример #1
0
 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"
     //			}
     //		}
     //	}
     //};
 }
Пример #2
0
 public App()
 {
     // The root page of your application
     MainPage = new ContentPageExample();
 }
Пример #3
0
        public App()
        {
            InitializeComponent();

            MainPage = new ContentPageExample();
        }