Example #1
0
 public void Exit()
 {
     if (IsModal)
     {
         this.ModalParent.Close(ModalResult.Exit());
     }
     else
     {
         this.ViewManager.LoadViewAsync(this.ViewManager.LastViewData);
     }
 }
 public void Close(bool state)
 {
     if (state)
     {
         this.Parent.Close(ModalResult.Exit());
     }
     else
     {
         this.Parent.Close(ModalResult.Cancel());
     }
 }