Timeline.DesiredFrameRate Attached Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the desired frame rate for this timeline and its child timelines.
see GetDesiredFrameRate, and SetDesiredFrameRate
see GetDesiredFrameRate, and SetDesiredFrameRate
see GetDesiredFrameRate, and SetDesiredFrameRate
Examples
The following example uses the DesiredFrameRate property to limit several animations to 10 frames per second.
Remarks
Use this property to define a specific frame rate at which animations should run. This is a guideline only, and is not a guaranteed value. This property has two primary uses:
Limiting the amount of processing resources for slow-moving, background type animations that do not require a high degree of fidelity. This can be achieved by setting a small frame rate value on the timeline.
Reducing the visual impact of tearing on fast-moving horizontal animations. This can be achieved by setting a high frame rate value on the timeline.
This property may only be set on a root timeline.