RectAnimationBase.GetCurrentValueCore(Rect, Rect, AnimationClock) メソッド

定義

ホスト アニメーションによって決定されたように、アニメーション化されているプロパティの現在の値を表す値を計算します。

protected:
 abstract System::Windows::Rect GetCurrentValueCore(System::Windows::Rect defaultOriginValue, System::Windows::Rect defaultDestinationValue, System::Windows::Media::Animation::AnimationClock ^ animationClock);
protected abstract System.Windows.Rect GetCurrentValueCore (System.Windows.Rect defaultOriginValue, System.Windows.Rect defaultDestinationValue, System.Windows.Media.Animation.AnimationClock animationClock);
abstract member GetCurrentValueCore : System.Windows.Rect * System.Windows.Rect * System.Windows.Media.Animation.AnimationClock -> System.Windows.Rect
Protected MustOverride Function GetCurrentValueCore (defaultOriginValue As Rect, defaultDestinationValue As Rect, animationClock As AnimationClock) As Rect

パラメーター

defaultOriginValue
Rect

アニメーションに独自の明示的な開始値が設定されていない場合に使用される、元の推奨値。

defaultDestinationValue
Rect

アニメーションが独自の明示的な終了値を持たない場合に使用される、終点の推奨値。

animationClock
AnimationClock

ホスト アニメーションで使用される CurrentTime または CurrentProgress を生成する AnimationClock

戻り値

このアニメーションの現在の値。

注釈

パラメーターの値は、 defaultOriginValue コンポジション チェーン内でのアニメーションの位置によって異なります。

  • アニメーションがコンポジション チェーンの最初の位置にあり、別のアニメーションを置き換える場合は、 defaultOriginValue そのアニメーションが置き換えられた時点での出力になります。

  • アニメーションがコンポジション チェーンの最初の位置にあり、置き換えるアニメーションが存在しない場合、 defaultOriginValue はアニメーション化されたプロパティの基本値です。

  • このアニメーションがコンポジション チェーンの最初の位置にない場合、 defaultOriginValue は、 ではないStoppedコンポジション チェーンAnimationClock内の前のアニメーションによって返される値です。

パラメーターの値は、 defaultDestinationValue 以前のプロパティ Trigger コンポジションレイヤーがあるかどうかによって異なります。

  • 以前のプロパティ Trigger コンポジションレイヤーがある場合は、 defaultDestinationValue そのレイヤーからの出力です。

  • 前のコンポジション レイヤーがない場合、 defaultDestinationValue はアニメーション化するプロパティの基本値です。

アニメーションの構成の詳細については、「 アニメーションとタイミング システムの概要」を参照してください。 カスタム アニメーションの種類の作成の詳細については、「 カスタム アニメーションの概要」を参照してください。

適用対象

こちらもご覧ください