IXRTimeline::SetFillBehavior (Windows Embedded CE 6.0)
1/6/2010
This method sets a value that specifies how the animation behaves after it reaches the end of its active period.
Syntax
virtual HRESULT STDMETHODCALLTYPE SetFillBehavior(
XRFillBehavior FillBehavior
) = 0;
Parameters
- FillBehavior
[in] XRFillBehavior enumerated value that specifies how the timeline behaves after it reaches the end of its active period, but its parent timeline is still within its active or fill period.
Return Value
Returns an HRESULT that indicates success or failure.
Remarks
When you want the animation to hold its value after it reaches the end of its active period, call SetFillBehavior and pass in XRFillBehavior_HoldEnd. When you do not want an animation to hold its value after it reaches the end of its active period, set its fill-behavior to XRFillBehavior_Stop.
A child timeline stops playing and filling when its parent timeline stops; if you want a child timeline to fill, make sure its parent timeline has a fill-behavior of XRFillBehavior_HoldEnd.If you attempt to change the animated value coming from a filling animation in code, it will seem to have no effect until the filling animation is stopped.
.NET Framework Equivalent
System.Windows.Media.Animation.Timeline.FillBehavior
Requirements
Header | XamlRuntime.h |
sysgen | SYSGEN_XAML_RUNTIME |
Windows Embedded CE | Windows Embedded CE 6.0 R3 |