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)); }
public App() { InitializeComponent(); MainPage = new PlanetsMasterPage(); }