Expression Property
The mathematical equation specifying how the animated value is calculated each frame. The Expression is the core of an ExpressionAnimation and represents the equation the system will use to calculate the value of the animation property each frame. The equation is set on this property in the form of a string. Although expressions can be defined by simple mathematical equations such as "2+2", the real power lies in creating mathematical relationships where the input values can change frame over frame.
Definition
Namespace: Avalonia.Rendering.Composition.Animations
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public string? Expression { get; set; }
Public Property Expression As String
Get
Set
member Expression : string with get, set
Property Value
StringSee Also
Reference
ExpressionAnimation Class
Avalonia.Rendering.Composition.Animations Namespace