ExpressionAnimation.Expression Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The mathematical equation specifying how the animated value is calculated each frame.