Click or drag to resize
DigitalRuneAnimationManagerCreateController Method (ITimeline, IAnimatableProperty)
Creates a new animation controller which can be used to apply the given animation to the specified property.

Namespace: DigitalRune.Animation
Assembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax
public AnimationController CreateController(
	ITimeline animation,
	IAnimatableProperty targetProperty
)

Parameters

animation
Type: DigitalRune.AnimationITimeline
The animation.
targetProperty
Type: DigitalRune.AnimationIAnimatableProperty
The target property that should be animated.

Return Value

Type: AnimationController
The AnimationController.

Implements

IAnimationServiceCreateController(ITimeline, IAnimatableProperty)
Exceptions
ExceptionCondition
ArgumentNullExceptiontargetProperty or animation is .
Remarks
The returned animation controller can be used to interactively control the animation.
See Also