Timeline.GetDesiredFrameRate Method (Timeline)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the desired frame rate of the specified Timeline.

Namespace:   System.Windows.Media.Animation
Assembly:  PresentationCore (in PresentationCore.dll)

public static Nullable<int> GetDesiredFrameRate(
	Timeline timeline


Type: System.Windows.Media.Animation.Timeline

The timeline from which to retrieve the desired frame rate.

Return Value

Type: System.Nullable<Int32>

The desired frame rate of this timeline. The default value is null.

This method provides read access to the DesiredFrameRate attached property. For more information, see the DesiredFrameRate page.

.NET Framework
Available since 3.0
Return to top