共用方式為


InteractionTrackerInertiaRestingValue.RestingValue 屬性

定義

如果 Condition 屬性中的運算式為 true,則 ExpressionAnimation 可定義 InteractionTracker 的其餘值。

Resting 屬性是 ExpressionAnimation ,描述如果符合對應的條件, InteractionTracker 會在互動之後移至何處。 當 InteractionTracker 處於慣性且必須解析為 Float 類型時,此運算式將會執行每個畫面,否則評估方程式時會擲回錯誤。 如需建置運算式的詳細資訊,請參閱 ExpressionAnimation 類別頁面。

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

void RestingValue(ExpressionAnimation value);
public ExpressionAnimation RestingValue { get; set; }
var expressionAnimation = interactionTrackerInertiaRestingValue.restingValue;
interactionTrackerInertiaRestingValue.restingValue = expressionAnimation;
Public Property RestingValue As ExpressionAnimation

屬性值

如果 Condition 屬性中的運算式為 true,則 為 ExpressionAnimation 來定義其餘值。

適用於