Exemplo n.º 1
0
        private void MudarPagina(object sender, EventArgs args)
        {
            string page = ((Button)sender).BindingContext as string;

            switch (page)
            {
            case "Pagina1":
                Detail      = new Navigation.Page1();
                IsPresented = false;
                break;

            case "Pagina2":
                Detail      = new Navigation.Page2();
                IsPresented = false;
                break;

            case "Conteudo":
                Detail      = new Pages.Master.Content();
                IsPresented = false;
                break;

            default:
                break;
            }
        }
Exemplo n.º 2
0
 public void MudarPagina1(Object sender, EventArgs args)
 {
     Detail      = new Navigation.Page1();
     IsPresented = false;
 }