StringAnimationBase.GetCurrentValueCore メソッド

定義

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

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

パラメーター

defaultOriginValue
String

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

defaultDestinationValue
String

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

animationClock
AnimationClock

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

返品

現在のアニメーションによって決定されるプロパティの計算値。

注釈

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

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

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

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

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

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

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

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

適用対象

こちらもご覧ください