RepeatBehavior RepeatBehavior RepeatBehavior RepeatBehavior Struct

定義

描述 Timeline 如何重複其簡單持續時間。Describes how a Timeline repeats its simple duration.

public value class RepeatBehavior : IFormattable
[System.Security.SecurityCritical]
public struct RepeatBehavior : IFormattable
type RepeatBehavior = struct
    interface IFormattable
Public Structure RepeatBehavior
Implements IFormattable
繼承
RepeatBehaviorRepeatBehaviorRepeatBehaviorRepeatBehavior
屬性
實作

備註

這個結構代表 Windows 執行階段 (WinRT) RepeatBehavior結構的 .net 投射。This struct represents the .NET projection of the Windows Runtime (WinRT) RepeatBehavior struct. 如需詳細資訊, 請參閱 UWP API 參考中的RepeatBehaviorFor more information, see RepeatBehavior in the UWP API reference.

建構函式

RepeatBehavior(Double) RepeatBehavior(Double) RepeatBehavior(Double) RepeatBehavior(Double)

使用所指定反覆運算計數初始化 RepeatBehavior 結構的新執行個體。Initializes a new instance of the RepeatBehavior struct with the specified iteration count.

RepeatBehavior(TimeSpan) RepeatBehavior(TimeSpan) RepeatBehavior(TimeSpan) RepeatBehavior(TimeSpan)

使用所指定重複持續時間來初始化 RepeatBehavior 結構的新執行個體。Initializes a new instance of the RepeatBehavior struct with the specified repeat duration.

屬性

Count Count Count Count

取得 Windows.UI.Xaml.Media.Animation.Timeline 應該重複的次數。Gets the number of times a Windows.UI.Xaml.Media.Animation.Timeline should repeat.

Duration Duration Duration Duration

取得 Windows.UI.Xaml.Media.Animation.Timeline 應該作用的時間總長度。Gets the total length of time a Windows.UI.Xaml.Media.Animation.Timeline should play.

Forever Forever Forever Forever

取得 RepeatBehavior,指定無限重複次數。Gets a RepeatBehavior that specifies an infinite number of repetitions.

HasCount HasCount HasCount HasCount

取得值,這個值指出重複行為是否具有指定的反覆計數。Gets a value that indicates whether the repeat behavior has a specified iteration count.

HasDuration HasDuration HasDuration HasDuration

取得值,這個值指出重複行為是否具有指定之重複的持續時間。Gets a value that indicates whether the repeat behavior has a specified repeat duration.

Type Type Type Type

取得或設定其中一個 RepeatBehaviorType 值,這個值描述行為重複的方式。Gets or sets one of the RepeatBehaviorType values that describes the way behavior repeats.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

表示指定的物件是否等於此 RepeatBehaviorIndicates whether the specified object is equal to this RepeatBehavior.

Equals(RepeatBehavior) Equals(RepeatBehavior) Equals(RepeatBehavior) Equals(RepeatBehavior)

傳回值,這個值表示指定的 RepeatBehavior 是否等於此 RepeatBehaviorReturns a value that indicates whether the specified RepeatBehavior is equal to this RepeatBehavior.

Equals(RepeatBehavior, RepeatBehavior) Equals(RepeatBehavior, RepeatBehavior) Equals(RepeatBehavior, RepeatBehavior) Equals(RepeatBehavior, RepeatBehavior)

表示兩個指定的 RepeatBehavior 值是否相等。Indicates whether the two specified RepeatBehavior values are equal.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

傳回這個執行個體的雜湊碼。Returns the hash code of this instance.

ToString() ToString() ToString() ToString()

傳回這個 RepeatBehavior 的字串表示。Returns a string representation of this RepeatBehavior.

ToString(IFormatProvider) ToString(IFormatProvider) ToString(IFormatProvider) ToString(IFormatProvider)

以指定的格式傳回這個 RepeatBehavior 的字串表示。Returns a string representation of this RepeatBehavior with the specified format.

運算子

Equality(RepeatBehavior, RepeatBehavior) Equality(RepeatBehavior, RepeatBehavior) Equality(RepeatBehavior, RepeatBehavior) Equality(RepeatBehavior, RepeatBehavior)

表示兩個指定的 RepeatBehavior 值是否相等。Indicates whether the two specified RepeatBehavior values are equal.

Inequality(RepeatBehavior, RepeatBehavior) Inequality(RepeatBehavior, RepeatBehavior) Inequality(RepeatBehavior, RepeatBehavior) Inequality(RepeatBehavior, RepeatBehavior)

表示兩個所指定 RepeatBehavior 值是否不相等。Indicates whether the two specified RepeatBehavior values are not equal.

明確介面實作

IFormattable.ToString(String, IFormatProvider) IFormattable.ToString(String, IFormatProvider) IFormattable.ToString(String, IFormatProvider) IFormattable.ToString(String, IFormatProvider)

如需這個成員的說明,請參閱 ToString(String, IFormatProvider)For a description of this member, see ToString(String, IFormatProvider).

適用於

另請參閱