Skip to main content

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)

[TypeConverterAttribute(typeof(IterationCountTypeConverter))]
public struct IterationCount : IEquatable<IterationCount>
View Source
InheritanceObjectValueType → IterationCount
ImplementsIEquatable(IterationCount)

Constructors

IterationCount(UInt64)Initializes a new instance of the IterationCount struct.
IterationCount(UInt64, IterationType)Initializes a new instance of the IterationCount struct.

Properties

InfiniteGets an instance of IterationCount that indicates that an animation should repeat forever.
IsInfiniteGets a value that indicates whether the IterationCount is set to Infinite.
RepeatTypeGets the unit of the IterationCount.
ValueGets 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 ValueType.Equals(Object))
GetHashCode()Gets a hash code for the IterationCount.
(Overrides ValueType.GetHashCode())
GetType()Gets 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 ValueType.ToString())

Operators

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

See Also

Reference

Avalonia.Animation Namespace