/// <summary> /// Set review/feedback notification visibility. /// </summary> /// <param name="visible">True to set visible, otherwise False.</param> private void SetVisibility(bool visible) { bool wasVisible = FeedbackOverlay.GetIsVisible(this) == true; if (visible) { PreparePanoramaPivot(false); FeedbackOverlay.SetIsVisible(this, true); FeedbackOverlay.SetIsNotVisible(this, false); Visibility = Visibility.Visible; } else { PreparePanoramaPivot(true); FeedbackOverlay.SetIsVisible(this, false); FeedbackOverlay.SetIsNotVisible(this, true); Visibility = Visibility.Collapsed; } if (wasVisible != visible) { OnVisibilityChanged(); } }