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)
- C#
- VB
- F#
[TypeConverterAttribute(typeof(IterationCountTypeConverter))]
public struct IterationCount : IEquatable<IterationCount>
<TypeConverterAttribute(GetType(IterationCountTypeConverter))>
Public Structure IterationCount
Implements IEquatable(Of IterationCount)
[<SealedAttribute>]
[<TypeConverterAttribute(typeof(IterationCountTypeConverter))>]
type IterationCount =
struct
inherit ValueType
interface IEquatable<IterationCount>
end
| Inheritance | Object → ValueType → IterationCount |
| Implements | IEquatable(IterationCount) |
Constructors
| IterationCount(UInt64) | Initializes a new instance of the IterationCount struct. |
| IterationCount(UInt64, IterationType) | Initializes a new instance of the IterationCount struct. |
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 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. |