/// <summary>
 /// Used to hide the Busy Indicator that is currently displayed
 /// </summary>
 private void HideProgressRing()
 {
     if (threadHelper != null)
     {
         threadHelper.Exit();
         threadHelper = null;
         InvalidateMeasure();
     }
 }
 /// <summary>
 /// Used to display the Busy Indicator
 /// </summary>
 private void ShowProgressRing()
 {
     threadHelper = new ThreadedVisualHelper(Content, InvalidatesMeasure);
     hostVisual   = threadHelper.HostVisual;
 }