AnimationClock.GetCurrentValue(Object, Object) Method

Definition

Gets the current output value of the AnimationClock.

public:
 System::Object ^ GetCurrentValue(System::Object ^ defaultOriginValue, System::Object ^ defaultDestinationValue);
public object GetCurrentValue (object defaultOriginValue, object defaultDestinationValue);
member this.GetCurrentValue : obj * obj -> obj
Public Function GetCurrentValue (defaultOriginValue As Object, defaultDestinationValue As Object) As Object

Parameters

defaultOriginValue
Object

The origin value provided to the clock if its animation does not have its own start value. If this clock is the first in a composition chain it will be the base value of the property being animated; otherwise it will be the value returned by the previous clock in the chain.

defaultDestinationValue
Object

The destination value provided to the clock if its animation does not have its own destination value. If this clock is the first in a composition chain it will be the base value of the property being animated; otherwise it will be the value returned by the previous clock in the chain.

Returns

The current value of this AnimationClock.

Applies to

See also