Share via


ExpressionAnimation.Expression Property

Definition

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.

public:
 property Platform::String ^ Expression { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring Expression();

void Expression(winrt::hstring value);
public string Expression { get; set; }
var string = expressionAnimation.expression;
expressionAnimation.expression = string;
Public Property Expression As String

Property Value

String

Platform::String

winrt::hstring

The mathematical equation specifying how the animated value is calculated each frame.

Applies to