Share via


InteractionTrackerInertiaRestingValue.Condition Property

Definition

An ExpressionAnimation describing when the modifier should be applied.

The Condition property is an ExpressionAnimation that defines when the InteractionTracker should have a specific resting position. This expression gets run 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 = interactionTrackerInertiaRestingValue.condition;
interactionTrackerInertiaRestingValue.condition = expressionAnimation;
Public Property Condition As ExpressionAnimation

Property Value

An ExpressionAnimation describing when the modifier should be applied.

Applies to