There is a loading indicator that is constantly spinning. I need to turn off his animation while it's invisible. How to do it? It is desirable that this be without the intervention of the code.

UPD

I found one solution ... Until I bring it. But that is the question. Does it work? How to check if the animation is running if the item is invisible? :)

  • And what does "invisible" mean? Visibility = Collapsed? Covered on top with other elements? - VladD
  • @VladD, Visibility == Collapsed || Visibility == Hidden Visibility == Collapsed || Visibility == Hidden - iRumba
  • @VladD, there is another question related to the topic. Updated the question - iRumba
  • And how do you start the animation? - VladD
  • Just check the idea: if you animate a value, read it from the code behind. - VladD

0