コード例 #1
0
        public PatientInformationPage()
        {
            InitializeComponent();
            _viewModel = BindingContext as PatientInformationPageViewModel;
            if (Device.RuntimePlatform == Device.iOS)
            {
                NavigationPage.SetHasBackButton(this, true);
            }
            else if (Device.RuntimePlatform == Device.Android)
            {
                NavigationPage.SetHasBackButton(this, false);
            }

            NavigationPage.SetHasNavigationBar(this, true);
        }
コード例 #2
0
 public PatientInformationPage()
 {
     InitializeComponent();
     _viewModel = BindingContext as PatientInformationPageViewModel;
 }