RepeatBehavior.Count Property

Definition

Gets the number of times a Timeline should repeat.

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

Property Value

Double

The numeric value representing the number of iterations to repeat.

Exceptions

This RepeatBehavior describes a repeat duration, not an iteration count.

Remarks

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