Beispiel #1
0
 public Entrance()
 {
     InitializeComponent();
     using (EntranceViewModel context = new EntranceViewModel())
     {
         DataContext = context;
     }
 }
Beispiel #2
0
 public Entrance()
 {
     InitializeComponent();
     NavigationPage.SetHasNavigationBar(this, false);
     evm = new EntranceViewModel()
     {
         Navigation = this.Navigation, View = this
     };
     BindingContext = evm;
 }
Beispiel #3
0
 public Entrance()
 {
     InitializeComponent();
     DataContext = new EntranceViewModel();
 }