Пример #1
0
 public AddNewWinePage()
 {
     if (Device.RuntimePlatform == Device.Android)
     {
         var navigationPage = Application.Current.MainPage as NavigationPage;
         navigationPage.BarBackgroundColor = Color.Transparent;
     }
     InitializeComponent();
     BindingContext = new AllWinesViewModel();
 }
Пример #2
0
 public AllWinesPage()
 {
     InitializeComponent();
     setView();
     BindingContext = new AllWinesViewModel();
 }