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

            /*
             * MainPage = new ContentPage {
             *      Content = new StackLayout {
             *              VerticalOptions = LayoutOptions.Center,
             *              Children = {
             *                      new Label {
             *                              XAlign = TextAlignment.Center,
             *                              Text = "Welcome to Xamarin Forms!"
             *                      }
             *              }
             *      }
             * };
             */
        }
Beispiel #3
0
 public App()
 {
     MainPage = new ConferencePage();
 }