Breyta

Deila með


RepeatBehavior Struct

Definition

Describes how a Timeline repeats its simple duration.

public value class RepeatBehavior : IFormattable
[System.Security.SecurityCritical]
public struct RepeatBehavior : IFormattable
[<System.Security.SecurityCritical>]
type RepeatBehavior = struct
    interface IFormattable
Public Structure RepeatBehavior
Implements IFormattable
Inheritance
RepeatBehavior
Attributes
Implements

Remarks

This struct represents the .NET projection of the Windows Runtime (WinRT) RepeatBehavior struct. For more information, see RepeatBehavior in the UWP API reference.

Constructors

RepeatBehavior(Double)

Initializes a new instance of the RepeatBehavior struct with the specified iteration count.

RepeatBehavior(TimeSpan)

Initializes a new instance of the RepeatBehavior struct with the specified repeat duration.

Properties

Count

Gets the number of times a Windows.UI.Xaml.Media.Animation.Timeline should repeat.

Duration

Gets the total length of time a Windows.UI.Xaml.Media.Animation.Timeline should play.

Forever

Gets a RepeatBehavior that specifies an infinite number of repetitions.

HasCount

Gets a value that indicates whether the repeat behavior has a specified iteration count.

HasDuration

Gets a value that indicates whether the repeat behavior has a specified repeat duration.

Type

Gets or sets one of the RepeatBehaviorType values that describes the way behavior repeats.

Methods

Equals(Object)

Indicates whether the specified object is equal to this RepeatBehavior.

Equals(RepeatBehavior, RepeatBehavior)

Indicates whether the two specified RepeatBehavior values are equal.

Equals(RepeatBehavior)

Returns a value that indicates whether the specified RepeatBehavior is equal to this RepeatBehavior.

GetHashCode()

Returns the hash code of this instance.

ToString()

Returns a string representation of this RepeatBehavior.

ToString(IFormatProvider)

Returns a string representation of this RepeatBehavior with the specified format.

Operators

Equality(RepeatBehavior, RepeatBehavior)

Indicates whether the two specified RepeatBehavior values are equal.

Inequality(RepeatBehavior, RepeatBehavior)

Indicates whether the two specified RepeatBehavior values are not equal.

Explicit Interface Implementations

IFormattable.ToString(String, IFormatProvider)

For a description of this member, see ToString(String, IFormatProvider).

Applies to

See also