Пример #1
0
        public PlanetsMasterDetail()
        {
            PlanetsMasterPage master = new PlanetsMasterPage();

            this.Master                = master;
            this.MasterBehavior        = MasterBehavior.Split;
            master.MasterItemSelected += MasterItemSelected;

            MasterItemSelected(this, 0);
        }
        public PlanetsMasterDetail()
        {
            var master = new PlanetsMasterPage();

            Master = master;

            master.MasterItemSelected += MasterItemSelected;

            MasterItemSelected(this, PlanetDataRepository.GetPlanetFromId(0));
        }
Пример #3
0
        public App()
        {
            InitializeComponent();

            MainPage = new PlanetsMasterPage();
        }