Timeline Timeline Timeline Timeline Class
public : class Timeline : DependencyObject
struct winrt::Windows::UI::Xaml::Media::Animation::Timeline : DependencyObject
public class Timeline : DependencyObject
Public Class Timeline Inherits DependencyObject
Windows 10 requirements
Windows 10 (introduced v10.0.10240.0)
Windows.Foundation.UniversalApiContract (introduced v1)
Timeline defines the Duration property that controls how long an animation runs once started. Timeline also defines these behavior properties, which are common to all animations types, and to Storyboard:
The relationship between Storyboard and the animation types is that a Storyboard is a container that can group multiple animations, and acts as the controller for starting and stopping the contained animations. When you set Timeline properties on a Storyboard as opposed to individual animations within a Storyboard, the Timeline properties set in the Storyboard typically override those from the combined animations. For more info see Storyboarded animations.
Timeline derived classes
Timeline is the parent class for several immediately derived classes that support the storyboarded animation system and also the built-in library animations. Here are some of the notable derived classes:
Storyboard: A container and controller for other storyboarded animations that each target a particular object and property.
Theme animations: These are animations defined by the animation library that you use for common UI interactions.+ DragItemThemeAnimation
Theme transitions don't derive from Timeline, they derive from Transition.
|Timeline() Timeline() Timeline() Timeline()||
Provides base class initialization behavior for Timeline -derived classes.
|AllowDependentAnimations AllowDependentAnimations AllowDependentAnimations AllowDependentAnimations||
Gets or sets a value that determines whether dependent animations should be permitted to run, throughout the app.
|AutoReverse AutoReverse AutoReverse AutoReverse||
Gets or sets a value that indicates whether the timeline plays in reverse after it completes a forward iteration.
|AutoReverseProperty AutoReverseProperty AutoReverseProperty AutoReverseProperty||
Identifies the AutoReverse dependency property.
|BeginTime BeginTime BeginTime BeginTime||
Gets or sets the time at which this Timeline should begin.
|BeginTimeProperty BeginTimeProperty BeginTimeProperty BeginTimeProperty||
Identifies the BeginTime dependency property.
|Dispatcher Dispatcher Dispatcher Dispatcher||
Gets the CoreDispatcher that this object is associated with. The CoreDispatcher represents a facility that can access the DependencyObject on the UI thread even if the code is initiated by a non-UI thread.(Inherited from DependencyObject)
|Duration Duration Duration Duration||
Gets or sets the length of time for which this timeline plays, not counting repetitions.
|DurationProperty DurationProperty DurationProperty DurationProperty||
Identifies the Duration dependency property.
|FillBehavior FillBehavior FillBehavior FillBehavior||
Gets or sets a value that specifies how the animation behaves after it reaches the end of its active period.
|FillBehaviorProperty FillBehaviorProperty FillBehaviorProperty FillBehaviorProperty||
Identifies the FillBehavior dependency property.
|RepeatBehavior RepeatBehavior RepeatBehavior RepeatBehavior||
Gets or sets the repeating behavior of this timeline.
|RepeatBehaviorProperty RepeatBehaviorProperty RepeatBehaviorProperty RepeatBehaviorProperty||
Identifies the RepeatBehavior dependency property.
|SpeedRatio SpeedRatio SpeedRatio SpeedRatio||
Gets or sets the rate, relative to its parent, at which time progresses for this Timeline.
|SpeedRatioProperty SpeedRatioProperty SpeedRatioProperty SpeedRatioProperty||
Identifies for the SpeedRatio dependency property.
|Completed Completed Completed Completed||
Occurs when the Storyboard object has completed playing.
피드백 로드 중...