[C#]
private async void DataGrid_GridLoaded(object sender, GridLoadedEventArgs e)
{
indicator.IsBusy = true;
indicator.IsVisible = true;
indicator.AnimationType = AnimationTypes.SlicedCircle;
grid.Children.Add(indicator);
await Task.Delay(200);
indicator.IsBusy = false;
indicator.IsVisible = false;
} |