예제 #1
0
 public ServerPageView()
 {
     NavigationPage.SetHasNavigationBar(this, false);
     BackgroundColor = Color.FromHex(Theme.Current.AppBackgroundColor);
     BindingContext  = new ServerPageViewModel(new PlatformServices());
     createViews();
 }
예제 #2
0
 public ServerPage()
 {
     InitializeComponent();
     BindingContext = viewModel = new ServerPageViewModel();
 }