/// <summary> /// Shows the dialog overlay. /// </summary> private void ShowDialogOverlay() { var overlay = OverlayNavigator.Show <DialogOverlay>(); // Hide the pause overlay when the dialog closes. overlay.OnHide += OnDialogOverlayHide; dialogModel = overlay.Model; }
protected override void OnPreHide() { base.OnPreHide(); dialogModel = null; }