Creates a Storyboard instance.

C# | Visual Basic | Visual 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 )

- 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

A new Storyboard instance