GetCurrentValue Method
Collapse the table of content
Expand the table of content

AnimationClock.GetCurrentValue Method (Object, Object)

 

Gets the current output value of the AnimationClock.

Namespace:   System.Windows.Media.Animation
Assembly:  PresentationCore (in PresentationCore.dll)

public object GetCurrentValue(
	object defaultOriginValue,
	object defaultDestinationValue
)

Parameters

defaultOriginValue
Type: System.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
Type: System.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

Return Value

Type: System.Object

The current value of this AnimationClock.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft