IterationCount Structure

Determines the number of iterations of an animation. Also defines its repeat behavior.

Definition

Namespace: Avalonia.Animation
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
[TypeConverterAttribute(typeof(IterationCountTypeConverter))]
public struct IterationCount : IEquatable<IterationCount>
Inheritance
Object    ValueType    IterationCount
Implements
IEquatableIterationCount

Properties

Infinite Gets an instance of IterationCount that indicates that an animation should repeat forever.
IsInfinite Gets a value that indicates whether the IterationCount is set to Infinite.
RepeatType Gets the unit of the IterationCount.
Value Gets the number of repeat iterations.

Methods

Equals(IterationCount) Compares two IterationCount structures for equality.
Equals(Object) Determines whether the IterationCount is equal to the specified object.
(Overrides ValueTypeEquals(Object))
GetHashCode Gets a hash code for the IterationCount.
(Overrides ValueTypeGetHashCode)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Parse(String) Parses a string to return a IterationCount.
ToString Gets a string representation of the IterationCount.
(Overrides ValueTypeToString)

Operators

Equality(IterationCount, IterationCount) Compares two IterationCount structures for equality.
Inequality(IterationCount, IterationCount) Compares two IterationCount structures for inequality.

See Also