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