Silverlight SDK for Microsoft Bing
CreateStoryboard Method (duration, repeat, autoReverse)
OverviewSystem.WindowsAnimationCreateStoryboard(TimeSpan, RepeatBehavior, Boolean)
Creates a Storyboard instance.
Declaration Syntax
C#Visual BasicVisual C++
public static Storyboard CreateStoryboard(
	TimeSpan duration,
	RepeatBehavior repeat,
	bool autoReverse
)
Public Shared Function CreateStoryboard ( _
	duration As TimeSpan, _
	repeat As RepeatBehavior, _
	autoReverse As Boolean _
) As Storyboard
public:
static Storyboard^ CreateStoryboard(
	TimeSpan duration, 
	RepeatBehavior repeat, 
	bool autoReverse
)
Parameters
duration (TimeSpan)
The duration of the storyboard
repeat (RepeatBehavior)
The RepeatBehavior of the storyboard
autoReverse (Boolean)
A boolean value indicating whether the storyboard should auto-reverse on completion
Return Value
A new Storyboard instance

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