RepeatBehavior.Count Property


Gets the number of times a Timeline should repeat.

 property double Count { double get(); };
public double Count { get; }
member this.Count : double
Public ReadOnly Property Count As Double

Property Value

The numeric value representing the number of iterations to repeat.


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 the Timeline.RepeatBehavior property.

Applies to