Timeline.RepeatBehavior 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
他會觸發或設定這個時間線重複的行為。
RepeatBehavior RepeatBehavior();
void RepeatBehavior(RepeatBehavior value);
public RepeatBehavior RepeatBehavior { get; set; }
var repeatBehavior = timeline.repeatBehavior;
timeline.repeatBehavior = repeatBehavior;
Public Property RepeatBehavior As RepeatBehavior
<timeline RepeatBehavior="repeatBehaviorValue"/>
屬性值
一個迭代 計數 (Iteration Count)指定該時間軸應播放多少次, TimeSpan值(TimeSpan )表示該時間軸活躍期間的總長度,或特殊值 Forever,指定時間軸應無限重複。 預設值為 RepeatBehavior ,計 數 值為 1,表示時間軸只播放一次。
備註
更多資訊和範例,請參見 RepeatBehavior 結構。