Summary
Determines the number of iterations of an animation.
Also defines its repeat behavior.
- Namespace
- Avalonia
.Animation - Interfaces
-
- IEquatable
<IterationCount>
- IEquatable
- Base Types
-
- object
- ValueType
graph BT
Type-->Base0["ValueType"]
Base0-->Base1["object"]
Type-.->Interface0["IEquatable<IterationCount>"]
Type["IterationCount"]
class Type type-node
Syntax
[TypeConverter(typeof(IterationCountTypeConverter))]
public struct IterationCount : ValueType, IEquatable<IterationCount>
Attributes
Type | Description |
---|---|
TypeConverter |
Constructors
Name | Summary |
---|---|
IterationCount |
Initializes a new instance of the IterationCount struct.
|
IterationCount |
Initializes a new instance of the IterationCount struct.
|
Properties
Name | Value | Summary |
---|---|---|
Infinite | IterationCount |
Gets an instance of
IterationCount that indicates that an animation
should repeat forever.
static
|
IsInfinite | bool |
Gets a value that indicates whether the
IterationCount is set to Infinite.
|
RepeatType | IterationType |
Gets the unit of the
IterationCount .
|
Value | ulong |
Gets the number of repeat iterations.
|
Methods
Name | Value | Summary |
---|---|---|
Equals |
bool |
Compares two IterationCount structures for equality.
|
Equals |
bool |
Determines whether the
IterationCount is equal to the specified object.
|
GetHashCode |
int |
Gets a hash code for the IterationCount.
|
Parse |
IterationCount |
Parses a string to return a
IterationCount .
static
|
ToString |
string |
Gets a string representation of the
IterationCount .
|
Operators
Name | Value | Summary |
---|---|---|
operator != |
bool | |
operator == |
bool |