Exemple #1
0
        public ImagePage()
        {
            InitializeComponent();

            BizJets IndividualBizJet = BizJetsDetailViewModel.GetIndividualBizJet();

            BizJetName.Text    = IndividualBizJet.AircraftName;
            BizJetImage.Source = new UriImageSource
            {
                Uri            = new Uri(IndividualBizJet.AircraftImageURL),
                CachingEnabled = true,
                CacheValidity  = new TimeSpan(5, 0, 0, 0)
            };
        }
        public BizJetDetailView(BizJets SelectedBizJet)
        {
            BizJetsDetailViewModel.SetBJDViewModel(SelectedBizJet);

            InitializeComponent();
        }