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()); } }