Silverlight SDK for Microsoft Bing
CreateKeyFrameAnimation Method (storyboard, target, propertyName)
OverviewSystem.WindowsAnimationCreateKeyFrameAnimation(Storyboard, DependencyObject, String)
Creates a DoubleAnimationUsingKeyFrames instance.
Declaration Syntax
C#Visual BasicVisual C++
public static DoubleAnimationUsingKeyFrames CreateKeyFrameAnimation(
	Storyboard storyboard,
	DependencyObject target,
	string propertyName
)
Public Shared Function CreateKeyFrameAnimation ( _
	storyboard As Storyboard, _
	target As DependencyObject, _
	propertyName As String _
) As DoubleAnimationUsingKeyFrames
public:
static DoubleAnimationUsingKeyFrames^ CreateKeyFrameAnimation(
	Storyboard^ storyboard, 
	DependencyObject^ target, 
	String^ propertyName
)
Parameters
storyboard (Storyboard)
The storyboard to which
target (DependencyObject)
The target object whnich the timeline will animate
propertyName (String)
The target property which the timeline will animate
Return Value
Remarks
NOTE: This method does NOT append the timeline to the Storyboard children.

Assembly: System.Windows.Controls.Views.Toolkit (Module: System.Windows.Controls.Views.Toolkit) Version: 1.0.0.0 (1.0.0.0)