A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

14 lines
514 B

using System;
using Avalonia.Animation.Animators;
namespace Avalonia.Animation
{
/// <summary>
/// Transition class that handles <see cref="AvaloniaProperty"/> with <see cref="bool"/> types.
/// </summary>
public class BoolTransition : Transition<bool>
{
internal override IObservable<bool> DoTransition(IObservable<double> progress, bool oldValue, bool newValue) =>
AnimatorDrivenTransition<bool, BoolAnimator>.Transition(Easing, progress, oldValue, newValue);
}
}