RepeatBehavior.Count Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the number of times a Timeline should repeat.
Assembly: System.Windows (in System.Windows.dll)
| Exception | Condition |
|---|---|
| InvalidOperationException | This RepeatBehavior describes a repeat duration, not an iteration count. |
To avoid throwing an exception when accessing this property, use the HasCount property first to verify that the RepeatBehavior represents an iteration count, not a repeat duration.
For more information about making a timeline repeat, see Timeline.RepeatBehavior.