Dela via


RepeatBehaviorType Enum

Definition

Specifies the repeat mode that a RepeatBehavior raw value represents.

public enum class RepeatBehaviorType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class RepeatBehaviorType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum RepeatBehaviorType
Public Enum RepeatBehaviorType
Inheritance
RepeatBehaviorType
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Count 0

The RepeatBehavior represents a case where the timeline should repeat for a fixed number of complete runs.

Duration 1

The RepeatBehavior represents a case where the timeline should repeat for a time duration, which might result in an animation terminating part way through.

Forever 2

The RepeatBehavior represents a case where the timeline should repeat indefinitely.

Applies to