Timeline.SetDesiredFrameRate(Timeline, Nullable<Int32>) Method
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.
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
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.