Timeline 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 Timeline 类的新实例。
重载
Timeline()
Timeline(Nullable<TimeSpan>)
protected:
Timeline(Nullable<TimeSpan> beginTime);
protected Timeline (TimeSpan? beginTime);
new System.Windows.Media.Animation.Timeline : Nullable<TimeSpan> -> System.Windows.Media.Animation.Timeline
Protected Sub New (beginTime As Nullable(Of TimeSpan))
参数
另请参阅
适用于
Timeline(Nullable<TimeSpan>, Duration)
protected:
Timeline(Nullable<TimeSpan> beginTime, System::Windows::Duration duration);
protected Timeline (TimeSpan? beginTime, System.Windows.Duration duration);
new System.Windows.Media.Animation.Timeline : Nullable<TimeSpan> * System.Windows.Duration -> System.Windows.Media.Animation.Timeline
Protected Sub New (beginTime As Nullable(Of TimeSpan), duration As Duration)
参数
示例
适用于
Timeline(Nullable<TimeSpan>, Duration, RepeatBehavior)
使用指定的 Timeline、BeginTime 和 Duration 初始化 RepeatBehavior 类的新实例。
protected:
Timeline(Nullable<TimeSpan> beginTime, System::Windows::Duration duration, System::Windows::Media::Animation::RepeatBehavior repeatBehavior);
protected Timeline (TimeSpan? beginTime, System.Windows.Duration duration, System.Windows.Media.Animation.RepeatBehavior repeatBehavior);
new System.Windows.Media.Animation.Timeline : Nullable<TimeSpan> * System.Windows.Duration * System.Windows.Media.Animation.RepeatBehavior -> System.Windows.Media.Animation.Timeline
Protected Sub New (beginTime As Nullable(Of TimeSpan), duration As Duration, repeatBehavior As RepeatBehavior)
参数
- repeatBehavior
- RepeatBehavior
此时间线的重复行为,可以作为迭代 Count,也可以作为重复 Duration。 有关更多信息,请参见 RepeatBehavior 属性。