Uredi

Deli z drugimi prek


Timeline.SetDesiredFrameRate(Timeline, Nullable<Int32>) Method

Definition

Sets the desired frame rate of the specified Timeline.

public:
 static void SetDesiredFrameRate(System::Windows::Media::Animation::Timeline ^ timeline, Nullable<int> desiredFrameRate);
public static void SetDesiredFrameRate (System.Windows.Media.Animation.Timeline timeline, int? desiredFrameRate);
static member SetDesiredFrameRate : System.Windows.Media.Animation.Timeline * Nullable<int> -> unit
Public Shared Sub SetDesiredFrameRate (timeline As Timeline, desiredFrameRate As Nullable(Of Integer))

Parameters

timeline
Timeline

The Timeline to which desiredFrameRate is assigned.

desiredFrameRate
Nullable<Int32>

The maximum number of frames this timeline should generate each second, or null if the system should control the number of frames.

Remarks

This method sets the DesiredFrameRate attached property. For more information, see the DesiredFrameRate page.

Applies to

See also