StringAnimationUsingKeyFrames.GetCurrentValueCore メソッド

定義

この StringAnimationUsingKeyFrames のインスタンスによって決定されたとおり、アニメーション化されているプロパティの現在の値を表す値を計算します。

protected:
 override System::String ^ GetCurrentValueCore(System::String ^ defaultOriginValue, System::String ^ defaultDestinationValue, System::Windows::Media::Animation::AnimationClock ^ animationClock);
protected override sealed string GetCurrentValueCore (string defaultOriginValue, string defaultDestinationValue, System.Windows.Media.Animation.AnimationClock animationClock);
override this.GetCurrentValueCore : string * string * System.Windows.Media.Animation.AnimationClock -> string
Protected Overrides NotOverridable Function GetCurrentValueCore (defaultOriginValue As String, defaultDestinationValue As String, animationClock As AnimationClock) As String

パラメーター

defaultOriginValue
String

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

defaultDestinationValue
String

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

animationClock
AnimationClock

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

戻り値

現在のインスタンスで決定されたとおりに計算されたプロパティ値。

注釈

defaultOriginValueがコンポジション チェーンの最初の値である場合、この値はスナップショット値 (使用可能な場合) または基本プロパティ値になります。それ以外の場合、この値は チェーン内AnimationClockの前のアニメーションによって返される値であり、 は ではありませんStopped

defaultDestinationValueアニメーションがプロパティのアニメーションの最初のコンポジション レイヤーにある場合は基本値です。それ以外の場合、値はプロパティのアニメーションの前のコンポジション レイヤーからの出力値です。

適用対象

こちらもご覧ください