public void ShowProgressOperationsDialog() { if (PageStack.CurrentPage != this) { throw new InvalidOperationException("Not the current page"); } if (progressOperationManagerDialog != null && Application.LayoutRoot.Controls.Contains(progressOperationManagerDialog)) { return; } var progressOperationManagerControl = new ProgressOperationManagerControl(this.ProgressOperationManager); progressOperationManagerDialog = new Dialog(progressOperationManagerControl) { MaxHeight = 40 }; progressOperationManagerDialog.AllowEscapeToCancel = true; Application.LayoutRoot.Add(progressOperationManagerDialog); }