ExpressionAnimationExpression 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.
Namespace: Avalonia.Rendering.Composition.AnimationsAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public string? Expression { get; set; }
Public Property Expression As String
Get
Set
member Expression : string with get, set
Property Value
String