private void OnPlayProgressSegment(object sender, ProgressSegmentEventArgs e) { if (_animationView != null) { PrepareReverseAnimation((min, max) => { _animationView.SetMinAndMaxProgress(min, max); }, e.From, e.To); } }
private void OnPlayProgressSegment(object sender, ProgressSegmentEventArgs e) { _animationView?.PlayFromProgress(e.From, e.To, PlaybackFinishedIfActually); Element.IsPlaying = true; }