Timeline.GetDesiredFrameRate(Timeline) Method

Definition

Gets the desired frame rate of the specified Timeline.

public:
 static Nullable<int> GetDesiredFrameRate(System::Windows::Media::Animation::Timeline ^ timeline);
public static int? GetDesiredFrameRate (System.Windows.Media.Animation.Timeline timeline);
static member GetDesiredFrameRate : System.Windows.Media.Animation.Timeline -> Nullable<int>
Public Shared Function GetDesiredFrameRate (timeline As Timeline) As Nullable(Of Integer)

Parameters

timeline
Timeline

The timeline from which to retrieve the desired frame rate.

Returns

Nullable<Int32>

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

Remarks

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

Applies to

See also