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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.