private async void Test() { Indicator.IsBusy= !Indicator.IsBusy; await Task.Delay(Indicator.IsBusy ? 5000 : 1000); Test(); }