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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.