Пример #1
0
        private async void RefreshBtn_Click(object sender, RoutedEventArgs e)
        {
            RefreshIconRotation.Begin();
            await Refresh();

            RefreshIconRotation.Stop();
        }
 /// <summary>
 /// Stop rotating the refresh icon
 /// </summary>
 private void StopNetworkActivity()
 {
     RefreshIcon.IsTapEnabled = true;
     RefreshIconRotation.Stop();
 }
 /// <summary>
 /// Start rotating the refresh icon
 /// </summary>
 private void StartNetworkActivity()
 {
     RefreshIconRotation.Begin();
     RefreshIcon.IsTapEnabled = false;
 }