Why Windows.UI.Composition AnimationController.Progress always return zero? RRS feed

  • Pergunta

  • I'm trying to read the property AnimationController.Progress in the Windows.UI.Composition using the following command:

    double progress = _target.TryGetAnimationController("Offset")?.Progress ?? double.NaN;

    The animation of the property "Offset" on _target object runs correctly, but the progress property is always zero during the animation that runs over 10 seconds.

    Has anyone used this property?

    sábado, 4 de julho de 2020 21:12