Silverlight SDK for Microsoft Bing
CreateStoryboard Method (duration, repeat)
OverviewSystem.WindowsAnimationCreateStoryboard(TimeSpan, RepeatBehavior)
Creates a Storyboard instance.
Declaration Syntax
C#Visual BasicVisual C++
public static Storyboard CreateStoryboard(
	TimeSpan duration,
	RepeatBehavior repeat
)
Public Shared Function CreateStoryboard ( _
	duration As TimeSpan, _
	repeat As RepeatBehavior _
) As Storyboard
public:
static Storyboard^ CreateStoryboard(
	TimeSpan duration, 
	RepeatBehavior repeat
)
Parameters
duration (TimeSpan)
The duration of the storyboard
repeat (RepeatBehavior)
The RepeatBehavior of the storyboard
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)