Example #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!"
                 }
             }
         }
     };
     */
 }
Example #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!"
             *                      }
             *              }
             *      }
             * };
             */
        }
Example #3
0
 public App()
 {
     MainPage = new ConferencePage();
 }