Class StyleTransition<T>
- Namespace
- Forma.Xaml
- Assembly
- Forma.dll
public abstract class StyleTransition<T> : IStyleTransition
Type Parameters
T
- Inheritance
-
StyleTransition<T>
- Implements
-
- Derived
-
- Inherited Members
-
Constructors
protected StyleTransition(XamlProperty<T> property, TimeSpan duration, Easing easing = Easing.Linear)
Parameters
property XamlProperty<T>
duration TimeSpan
easing Easing
Properties
public TimeSpan Duration { get; }
Property Value
- TimeSpan
public Easing Easing { get; }
Property Value
- Easing
public XamlProperty<T> Property { get; }
Property Value
- XamlProperty<T>
Methods
protected abstract T Interpolate(T from, T to, float progress)
Parameters
from T
to T
progress float
Returns
- T