Delen via


InteractionTrackerInertiaMotion.Condition Property

Definition

An ExpressionAnimation describing when the modifier should be applied.

The Condition property is an ExpressionAnimation that defines when the specified motion equation is utilized by InteractionTracker during Inertia. This expression gets evaluated once after the interaction occurs and must resolve to a type Bool, otherwise an error will be thrown when the condition is evaluated. See the ExpressionAnimation class page for more details on building expressions.

public:
 property ExpressionAnimation ^ Condition { ExpressionAnimation ^ get(); void set(ExpressionAnimation ^ value); };
ExpressionAnimation Condition();

void Condition(ExpressionAnimation value);
public ExpressionAnimation Condition { get; set; }
var expressionAnimation = interactionTrackerInertiaMotion.condition;
interactionTrackerInertiaMotion.condition = expressionAnimation;
Public Property Condition As ExpressionAnimation

Property Value

An ExpressionAnimation describing when the modifier should be applied.

Applies to