/// <summary>
/// Rotates the loading wheel endlessly
/// </summary>
private void PerformLoadingWheelRotation()
{
if (LoadingWheel.Animations.Count != 0)
{
return;
}
var rotation = MathHelper.ToDegrees(LoadingWheel.Rotation);
LoadingWheel.ClearAnimations();
LoadingWheel.Animations.Add(new Animation(AnimationProperty.Rotation, Easing.Linear, rotation, rotation + 360, 1000));
}