Describes how a Timeline repeats its simple duration.
Assembly: PresentationCore (in PresentationCore.dll)
Gets the number of times a Timeline should repeat.
Gets the total length of time a Timeline should play.
Gets athat specifies an infinite number of repetitions.
Gets a value that indicates whether the repeat behavior has a specified iteration count.
Gets a value that indicates whether the repeat behavior has a specified repeat duration.
Indicates whether this instance is equal to the specified object. (Overrides ValueType.Equals(Object).)
Returns a value that indicates whether this instance is equal to the specified.
Indicates whether the two specifiedstructures are equal.
Returns the hash code of this instance.(Overrides ValueType.GetHashCode().)
Returns a string representation of this ValueType.ToString().)instance. (Overrides
Returns a string representation of thisinstance with the specified format.
Formats the value of the current instance using the specified format.
There are three types of RepeatBehavior behaviors:
Iteration Count - specifies the number of times the simple duration of a Timeline plays. The default iteration count is 1.0, and means the Timeline is active for exactly one of its simple durations. A count of 0.5 specifies that the timeline is active for half of its simple duration, while a count of 2 specifies that the timeline repeats its simple duration twice. For more information, see the Count property.
Duration - specifies the length of the Timeline object's active duration. For example, a Timeline with a simple Duration value of 1 second and a RepeatBehavior.Duration value of 2.5 seconds will run for 2.5 iterations.
Forever - the Timeline repeats indefinitely.
- or -
- or -
- or -
- or -
Items in square brackets ([ and ]) are optional.
A value greater than or equal to 0 that specifies the number of times a timeline should play. For more information, see the Count property.
A value consisting of 1 to 7 digits that represents fractional seconds.
Legacy Code Example
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.